A horizontal line on a matplotlib plot that can be grabbed and moved
by the user
|
|
__init__(self,
*args,
**kwargs)
Create a SlidableHLine object |
|
|
|
float
|
getPosition(self)
Return the position of the line in data coordinates |
|
|
|
float
|
getAxisExtreme(self)
Return the most extreme (high or low) value this line should take |
|
|
|
|
setPosition(self,
value)
Change the position of the line to value. |
|
|
|
|
onMotion(self,
event)
Move the line if it is currently moving and the mouse moved |
|
|
|
|
onPress(self,
event)
Check to see if the user clicked this line |
|
|
|
Inherited from SlidableLine:
onRelease,
remove
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|