Commit 72af7c7955
Unsigned
Layout: unified · split
.github/workflows/pylint.yml +1 −1
| @@ -17,7 +17,7 @@ jobs: | ||
| 17 | 17 | - name: Install dependencies |
| 18 | 18 | run: | |
| 19 | 19 | python -m pip install --upgrade pip |
| 20 | pip install pylint pandas | |
| 20 | pip install pylint pandas dash plotly.express | |
| 21 | 21 | - name: Analysing the code with pylint |
| 22 | 22 | run: | |
| 23 | 23 | pylint $(git ls-files '*.py') |
project_management/dash/app.py +10 −1
| @@ -1,3 +1,7 @@ | ||
| 1 | """ | |
| 2 | Extensible dashboard for project status. | |
| 3 | """ | |
| 4 | ||
| 1 | 5 | # Import packages |
| 2 | 6 | from dash import Dash, html, dash_table, dcc |
| 3 | 7 | import pandas as pd |
| @@ -32,7 +36,12 @@ app.layout = [ | ||
| 32 | 36 | ), |
| 33 | 37 | style = {'flex-grow':'1'} |
| 34 | 38 | ) |
| 35 | ], style = {'display':'flex', 'flex-wrap':'wrap', 'justify-content':'space-between', 'align-items':'center'}), | |
| 39 | ], | |
| 40 | style = { | |
| 41 | 'display':'flex', | |
| 42 | 'flex-wrap':'wrap', | |
| 43 | 'justify-content':'space-between', | |
| 44 | 'align-items':'center'}), | |
| 36 | 45 | dcc.Graph( |
| 37 | 46 | figure=px.pie( |
| 38 | 47 | df, |