diff options
| author | Christian Cleberg <[email protected]> | 2024-12-27 10:30:06 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-12-27 10:30:06 -0600 |
| commit | 38fd7e2b2ad1274a11d8e114c26798499416ff0e (patch) | |
| tree | 4f1ee480ddfe95568eafd0056f59e71489137ab3 | |
| parent | b11358529b7f74390f03435b669806e8d3411b55 (diff) | |
| download | cleberg.net-38fd7e2b2ad1274a11d8e114c26798499416ff0e.tar.gz cleberg.net-38fd7e2b2ad1274a11d8e114c26798499416ff0e.tar.bz2 cleberg.net-38fd7e2b2ad1274a11d8e114c26798499416ff0e.zip | |
pylint: fix redefined name from outer scope
| -rw-r--r-- | utils/salary_visualization.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/salary_visualization.py b/utils/salary_visualization.py index 2a826b5..a34094b 100644 --- a/utils/salary_visualization.py +++ b/utils/salary_visualization.py @@ -62,8 +62,8 @@ def create_trace(row: pd.Series) -> go.Scatter: fig = go.Figure() # Add each data point as a separate trace to display the text -for index, row in df.iterrows(): - fig.add_trace(create_trace(row)) +for index, df_row in df.iterrows(): + fig.add_trace(create_trace(df_row)) # Update visual styles of the figure fig.update_layout( |
