Skip to content

Update handling of sequence labels for plot#27767

Merged
QuLogic merged 1 commit intomatplotlib:mainfrom
rcomer:plot-single-legend
Feb 15, 2024
Merged

Update handling of sequence labels for plot#27767
QuLogic merged 1 commit intomatplotlib:mainfrom
rcomer:plot-single-legend

Conversation

@rcomer
Copy link
Copy Markdown
Member

@rcomer rcomer commented Feb 10, 2024

PR summary

Closes #27762.

  • plot(x, y, label=['foo']) where y is 1D now results in the legend label "foo" instead of "['foo']" (immediate change).
  • plot(x, y, label=sequence) where y is 1D and sequence is not of length 1 is deprecated to error in future.

PR checklist

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Inconsistent treatment of list of labels in plot when the input is a dataframe

4 participants