Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Nov 14, 2024
1 parent 04c6790 commit 143a4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vizro-core/examples/visual-vocabulary/custom_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def lollipop(data_frame: pd.DataFrame, **kwargs):
"""
# Should we allow keyword arguments (kwargs) in this context, given the presence of multiple traces?
# Unlike the column_and_line chart, where all traces hold equal significance, here the traces differ in importance.
# The primary scatter plot is the main data visualization, while the additional traces merely serve as connecting lines.
# The primary scatter plot is the main trace, while the additional traces merely serve as connecting lines.
# Therefore, should we apply the kwargs solely to the scatter plot, as illustrated below?
fig = px.scatter(data_frame, **kwargs)
x_array = fig.data[0].x
Expand Down

0 comments on commit 143a4af

Please sign in to comment.