FormatCoord¶
-
class
mpdaf.obj.
FormatCoord
(image, data)[source]¶ Bases:
object
Alter mouse-over coordinates displayed by plt.show()
Methods Summary
__call__
(x, y)Tell the interactive plotting window how to display the sky coordinates and pixel values of an image. Methods Documentation
-
__call__
(x, y)[source]¶ Tell the interactive plotting window how to display the sky coordinates and pixel values of an image.
Parameters: - x : float
The X-axis pixel index of the mouse pointer.
- y : float
The Y-axis pixel index of the mouse pointer.
Returns: - out : str
The string to be displayed when the mouse pointer is over pixel x,y.
-