This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib import cbook | |
class DataCursor(object): | |
"""A simple data cursor widget that displays the x,y location of a | |
matplotlib artist when it is selected.""" | |
def __init__(self, artists, tolerance=5, offsets=(-20, 20), | |
template='x: %0.2f\ny: %0.2f', display_all=False): | |
"""Create the data cursor and connect it to the relevant figure. | |
*artists* is the matplotlib artist or sequence of artists that will be | |
selected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/twistd.pid | |
/_trial_temp/ |