Commit 38fd7e2b2a
Unsigned
Layout: unified · split
utils/salary_visualization.py +2 −2
| @@ -62,8 +62,8 @@ def create_trace(row: pd.Series) -> go.Scatter: | |||
| 62 | fig = go.Figure() | 62 | fig = go.Figure() |
| 63 | 63 | ||
| 64 | # Add each data point as a separate trace to display the text | 64 | # Add each data point as a separate trace to display the text |
| 65 | for index, row in df.iterrows(): | 65 | for index, df_row in df.iterrows(): |
| 66 | fig.add_trace(create_trace(row)) | 66 | fig.add_trace(create_trace(df_row)) |
| 67 | 67 | ||
| 68 | # Update visual styles of the figure | 68 | # Update visual styles of the figure |
| 69 | fig.update_layout( | 69 | fig.update_layout( |