This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 | |
import matplotlib.pyplot as plt | |
# 2 | |
%matplotlib inline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 3 | |
legenda = ['Economias', 'Transporte', 'Seguro', 'Entretenimento','Comida', 'Casa'] | |
gastos_mensais = [500, 200, 150, 200, 600, 1200] | |
cores_grafico = ['#2d2e3f', '#ce3450', '#e2d6ca', '#99b8c1', '#e6ba3d', '#91c7bc'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 4 | |
fig, ax = plt.subplots(figsize=(6, 5), subplot_kw=dict(aspect="equal")) | |
# 5 | |
ax.pie(gastos_mensais, autopct='%0.1f%%', pctdistance=1.15, colors=cores_grafico) | |
# 6 | |
ax.legend(labels, title="Gastos", loc="center left",bbox_to_anchor=(1.25, 0, 0.5, 1)) | |
# 7 | |
ax.set_title("Gastos Mensais") | |
# 8 | |
plt.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-br"> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="UTF-8"> | |
<title>Coletivo 0&Umas</title> | |
<link rel="stylesheet" type="text/css" href="assets/css/style.css"> | |
<script src="assets/js/index.js"></script> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<!-- Barra de Navegacao --> | |
<nav class="grudenta"> | |
<div class="linha2"> | |
<img src="img/logo.png" alt="Logo Zero e Umas" class="logo-nav"> | |
<h1>0&Umas</h1> | |
<ul class="main-nav"> | |
<li><span onclick="document.querySelector('header').scrollIntoView({ behavior: 'smooth' });">Quem somos</span></li> | |
<li><span onclick="document.querySelector('.section-curso').scrollIntoView({ behavior: 'smooth' });">Nossos cursos</span></li> | |
<li><span onclick="document.querySelector('footer').scrollIntoView({ behavior: 'smooth' });">Fale conosco</span></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- NOSSOS CURSOS --> | |
<section class="section-curso"> | |
<div class="linha"> | |
<div class="col2 span-1-of-2"> | |
<img src="img/aperte_comecar.png" alt="Imagem curso Aperte Começar" class="img-comecar"> | |
</div> | |
<div class="col2 span-1-of-2"> | |
<h2 class="titulo-h2">Não perca a oportunidade</h2> | |
<h3 class="texto-h3">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris. </h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- FALE CONOSCO --> | |
<section class="secao-contato"> | |
<div class="linha"> | |
<div class="col2 span-1-of-2"> | |
<h5>Nos mande uma<br>mensagem!</h5> | |
<h3> | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do<br> eiusmod tempor incididunt ut labore et dolore magna aliqua. | |
</h3> | |
</div> | |
<div class="col2 span-1-of-2"> |
OlderNewer