Is there a way to make point labels work with pandas.DataFrame.plot?
I am using WinPython64-3.6.5.0Qt5 which contains mpldatacursor 0.6.2 and pandas 0.22.0.
I have tried the following (with graphics backend set to "Qt5"):
Selecting a point gives me TypeError: cursor_format() missing 3 required positional arguments: 's', 'z', and 'c', and when I remove these three arguments from the function definition, I get TypeError: 'NoneType' object is not subscriptable, because point_label is not defined.
Is there a way to make point labels work with pandas.DataFrame.plot?
I am using WinPython64-3.6.5.0Qt5 which contains mpldatacursor 0.6.2 and pandas 0.22.0. I have tried the following (with graphics backend set to "Qt5"):
Selecting a point gives me
TypeError: cursor_format() missing 3 required positional arguments: 's', 'z', and 'c'
, and when I remove these three arguments from the function definition, I getTypeError: 'NoneType' object is not subscriptable
, becausepoint_label
is not defined.I also tried:
This gives me Labels saying "None".
My workaround is to directly use the matplotlib instead:
With this, both formatters work fine.