FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

UserWarning for pandas dataframe plot with errors · Issue #4917 · matplotlib/matplotlib · GitHub

Repository navigation

UserWarning for pandas dataframe plot with errors #4917

Closed as not planned
Closed as not planned

Description

Only when I add the yerr option to this pandas dataframe plot I'm getting this matplotlib UserWarning:

df.FUV_CHIP_TEMP_C.plot(yerr=std)

WARNING:py.warnings:/Users/klay6683/miniconda3/lib/python3.4/site-packages/matplotlib-1.5.dev1-py3.4-macosx-10.5-x86_64.egg/matplotlib/collections.py:356: UserWarning: Collection picker None could not be converted to float
  % self._picker)

at the exact moment the mouse pointer hovers over the plotting area.
std is a dataframe with the exact same shape and columns as df and the plotting seem to makes sense. Thought I let you know of this irritating warning though.

This does not happen when I do not use the yerr option.

MPL: ''1.5.dev1'' (GH master from today: 3f758ab)
Platform: OSX 10.10.4
Backend: qt

Edit: Let me know if this should go to pandas, then I move it over there.

Activity

  1. tacaswell commented on Aug 13, 2015

    Member

    It is coming out of a Collection object (which is how error bars are implemented). The reason you are seeing this on master on mouse over is the hitlist computation a part of the hover feature (plot imshow to see the reason for this)

    This should be ameliorated by #4813 which restricts the things that it tries to hit greatly.

  2. added this to the milestone on Aug 13, 2015
  3. modified the milestones: , on Oct 3, 2017
  4. github-actions commented on Mar 15, 2023

    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!

  5. jklymak commented on Mar 15, 2023

    Member

    I'll close for lack of a reproducible example. Feel free to ask for a re-open....

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL