Commit 38fd7e2b2a

38fd7e2b2ad1274a11d8e114c26798499416ff0e

parent: b11358529b

Unsigned

cmc <hello@cleberg.net> · 2024-12-27 16:30 UTC

pylint: fix redefined name from outer scope

Layout: unified · split

utils/salary_visualization.py +2 −2
@@ -62,8 +62,8 @@ def create_trace(row: pd.Series) -> go.Scatter:
62fig = go.Figure() 62fig = 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
65for index, row in df.iterrows(): 65for 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
69fig.update_layout( 69fig.update_layout(