Skip to content

Commit

Permalink
Cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobndes committed Dec 13, 2021
1 parent a7b7c74 commit 51c9bec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#2d2d11",
"titleBar.inactiveBackground": "#08080399",
"titleBar.inactiveForeground": "#e7e7e799"
"titleBar.inactiveForeground": "#e7e7e799",
"sash.hoverBorder": "#2d2d11",
"statusBarItem.remoteBackground": "#080803",
"statusBarItem.remoteForeground": "#e7e7e7"
},
"peacock.color": "#080803",
"python.linting.flake8Enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion charp.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path

default_style = Path(__file__).parent / "paulo.mplstyle"
assert default_style.exists(), "Arquivo de estilo padrão não encontrado: " + default_style
assert default_style.exists(), f"Arquivo de estilo padrão não encontrado: {default_style}"
plt.style.use(default_style)

# default is orange
Expand Down
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- [ ] cor padrão: lightslategray
- [x] barras: grid em barras tem que ter cor do fundo (branco) e passar sobre a barra ax.set_axisbelow(True) Usar tracejado
- [ ] experimentar com https://github.com/tonysyu/matplotlib-style-gallery
- [ ] Função para título sobre label esquerdo
- [x] Função para título sobre label esquerdo
- [ ] linhas: função para legenda junto a linhas (ou pelo menos ordenando igual aos últimos valores).Opção para escrever com cores das linhas
- [ ] barras: função para escrever valores sobre as barras.
- [ ] função para destacar barra/linha com cor
Expand Down

0 comments on commit 51c9bec

Please sign in to comment.