mpldatacursor icon indicating copy to clipboard operation
mpldatacursor copied to clipboard

Interactive "data cursors" (a.k.a. annotation pop-ups) for matplotlib

Results 41 mpldatacursor issues
Sort by recently updated
recently updated
newest added

mpldatacursor is not working with current Matplotlib version (last working version is 3.1.2.) Error is: AttributeError: 'ScalarFormatter' object has no attribute 'pprint_val' Problem is that pip install matplotlib==3.1.2 fails because...

First off, thanks for this awesome stuff! (and thanks to @benburchfiel-tri for showing it to me!) One minor thing - I notice that there're small rendering artifacts when using `%matplotlib...

Modified line `if inside` to `if inside and artist.get_visible():` to avoid creation of annotations for hidden artists.

Added "Magnetic" Data Cursor keyword argument. For artists with x and y attributes, such as line chart, magnetic will only create data cursor on a data point in chart. By...

The 0.7.1 release has addresses some of the MatplotlibDeprecationWarning warnings with matplotlib 3.1, but there are some additional ones remaining: > /opt/conda/miniconda3/envs/py36/lib/python3.6/site-packages/mpldatacursor/datacursor.py:413: MatplotlibDeprecationWarning: The pprint_val function was deprecated in Matplotlib...

xData = [0, 1, None, 2, 3] yData = [0, 1, 1.5, 2, 3] The left side of the graph can be highlighted, but the right one cannot. ![image](https://user-images.githubusercontent.com/20966496/100231220-c33a0b80-2f37-11eb-88ad-ec21fc6f3420.png) Source...

![image](https://user-images.githubusercontent.com/11672527/93299085-540ea100-f7a9-11ea-971a-539a1c16057d.png) Here's my test code: ``` import numpy as np import matplotlib.pyplot as plt import seaborn as sns from mpldatacursor import datacursor fig, ax = plt.subplots(figsize=(15, 10)) arr = np.random.rand(200,...

Here is my code ``` import matplotlib import tkinter from matplotlib.backends.backend_tkagg import ( FigureCanvasTkAgg, NavigationToolbar2Tk) import matplotlib.pyplot as plt from mpldatacursor import datacursor matplotlib.use('Qt5Agg') root = tkinter.Tk() fig, ax =...

Secondary axes are used to conveniently display an alternative unit system. [Here are examples.](https://matplotlib.org/gallery/subplots_axes_and_figures/secondary_axis.html#sphx-glr-gallery-subplots-axes-and-figures-secondary-axis-py) mpldatacursor seems to not recognize secondary axes. If I do something like `ax2 = ax1.secondary_xaxis('top', functions=(fun1,...

I wannted to have a simple way to look at original plotted data without any interpolation. I think this is a "should have" for a data cursor.