diff --git a/.vscode/settings.json b/.vscode/settings.json index 16e1914..a328638 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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, diff --git a/charp.py b/charp.py index ccaed1b..cc81f65 100644 --- a/charp.py +++ b/charp.py @@ -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 diff --git a/todo.md b/todo.md index 423af15..44703d7 100644 --- a/todo.md +++ b/todo.md @@ -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