mpldatacursor
mpldatacursor copied to clipboard
Heads up for Matplotlib 3.7 deprecation
This is a heads up that Matplotlib 3.7 will deprecate the use of tunit_edges, so there will be a deprecation warning here: https://github.com/joferkington/mpldatacursor/blob/2df44a3912c2684b2d66fadc7cacbb9f60a15186/mpldatacursor/pick_info.py#L295
The solution is to simply copy the code.
Having other Matplotlib 3.7 related problems here
File "[...]/site-packages/mpldatacursor/datacursor.py", line 444, in annotate
ax.figure.texts.append(ax.texts.pop())
AttributeError: 'ArtistList' object has no attribute 'pop'
with Matplotlib 3.7.1
@joferkington are you still using the package?