Skip to content

fix typo in error message formatting in process_args_into_dataframe #4658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/python/plotly/plotly/express/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ def process_args_into_dataframe(args, wide_mode, var_name, value_name):
raise ValueError(
"All arguments should have the same length. "
"The length of column argument `df[%s]` is %d, whereas the "
"length of previously-processed arguments %s is %d"
"length of previously-processed arguments %s is %d"
% (
field,
len(df_input[argument]),
Expand Down Expand Up @@ -1253,7 +1253,7 @@ def process_args_into_dataframe(args, wide_mode, var_name, value_name):
raise ValueError(
"All arguments should have the same length. "
"The length of argument `%s` is %d, whereas the "
"length of previously-processed arguments %s is %d"
"length of previously-processed arguments %s is %d"
% (field, len(argument), str(list(df_output.keys())), length)
)
df_output[str(col_name)] = to_unindexed_series(argument, str(col_name))
Expand Down