hyperspy.drawing package¶
Subpackages¶
- hyperspy.drawing._markers package
- Submodules
- hyperspy.drawing._markers.horizontal_line module
- hyperspy.drawing._markers.horizontal_line_segment module
- hyperspy.drawing._markers.line_segment module
- hyperspy.drawing._markers.point module
- hyperspy.drawing._markers.rectangle module
- hyperspy.drawing._markers.text module
- hyperspy.drawing._markers.vertical_line module
- hyperspy.drawing._markers.vertical_line_segment module
- Module contents
- hyperspy.drawing._widgets package
- Submodules
- hyperspy.drawing._widgets.circle module
- hyperspy.drawing._widgets.horizontal_line module
- hyperspy.drawing._widgets.label module
- hyperspy.drawing._widgets.line2d module
- hyperspy.drawing._widgets.range module
- hyperspy.drawing._widgets.rectangles module
- hyperspy.drawing._widgets.scalebar module
- hyperspy.drawing._widgets.vertical_line module
- Module contents
Submodules¶
hyperspy.drawing.figure module¶
hyperspy.drawing.image module¶
hyperspy.drawing.marker module¶
-
class
hyperspy.drawing.marker.MarkerBase¶ Bases:
objectMarker that can be added to the signal figure
-
marker_properties¶ dictionary – Accepts a dictionary of valid (i.e. recognized by mpl.plot) containing valid line properties. In addition it understands the keyword type that can take the following values: {‘line’, ‘text’}
-
add_data(**kwargs)¶ Add data to the structured array. Each field of data should have the same dimensions than the nagivation axes. The other fields are not changed.
-
close()¶
-
get_data_position(ind)¶
-
isiterable(obj)¶
-
marker_properties
-
set_data(x1=None, y1=None, x2=None, y2=None, text=None, size=None)¶ Set data to the structured array. Each field of data should have the same dimensions than the nagivation axes. The other fields are overwritten.
-
set_marker_properties(**kwargs)¶ Set the line_properties attribute using keyword arguments.
-