mpldatacursor icon indicating copy to clipboard operation
mpldatacursor copied to clipboard

Heads up for Matplotlib 3.7 deprecation

Open oscargus opened this issue 2 years ago • 1 comments

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.

oscargus avatar Oct 22 '22 13:10 oscargus

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?

erwanp avatar Mar 24 '23 16:03 erwanp