Skip to content

Warning in test_labeled_data_unpacking.test_positional_parameter_names_as_function #5366

Closed

Description

@mdboom
matplotlib.tests.test_labeled_data_unpacking.test_positional_parameter_names_as_function ... /matplotlib/tests/test_labeled_data_unpacking.py:406: RuntimeWarning: Second argument is ambiguous: could be a color spec but is in data. Using as data.
Either rename the entry in data or use three arguments to plot.
  assert_equal(funcy(None, "x", "y1", data=data),
ok

@tacaswell: I think this warning is legit, and the test is testing it. In that case the test should put it in a catch_warnings block so it doesn't bubble out.

Activity

  1. tacaswell commented on Oct 30, 2015

    @tacaswell
    Member
  2. added this to the milestone on Oct 30, 2015
  3. modified the milestones: , on May 3, 2017
  4. modified the milestones: , on Oct 9, 2017
  5. github-actions commented on Mar 18, 2023

    @github-actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  6. QuLogic commented on Mar 18, 2023

    @QuLogic
    Member

    That file no longer exists, and neither does the test function, as it was removed in #10928.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions