Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UserWarning for pandas dataframe plot with errors #4917

Closed as not planned
Closed as not planned
@michaelaye

Description

@michaelaye

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions