hyperspy.tests.drawing package¶
Submodules¶
hyperspy.tests.drawing.test_figure_title module¶
-
hyperspy.tests.drawing.test_figure_title.
test_title_length
()¶
hyperspy.tests.drawing.test_mpl_testing_setup module¶
hyperspy.tests.drawing.test_plot_markers module¶
-
class
hyperspy.tests.drawing.test_plot_markers.
TestMarkers
¶ Bases:
object
-
test_add_marker_not_plot
()¶
-
test_add_markers_as_list
(mpl_cleanup)¶
-
test_auto_update
()¶
-
test_get_data
()¶
-
test_get_data_array
()¶
-
test_get_data_shape_point
()¶
-
test_get_one_string
()¶
-
test_iterate_strings
()¶
-
test_markers_properties
()¶
-
test_set_get_data
()¶
-
-
class
hyperspy.tests.drawing.test_plot_markers.
Test_permanent_markers
¶ Bases:
object
-
test_add_markers_as_list
(mpl_cleanup)¶
-
test_add_markers_as_list_add_different_twice
(mpl_cleanup)¶
-
test_add_markers_as_list_add_same_twice
(mpl_cleanup)¶
-
test_add_permanent_marker
(mpl_cleanup)¶
-
test_add_permanent_marker_not_plot
()¶
-
test_add_permanent_marker_signal2d
(mpl_cleanup)¶
-
test_add_permanent_marker_twice
(mpl_cleanup)¶
-
test_add_permanent_marker_twice_different_signal
(mpl_cleanup)¶
-
test_add_several_permanent_markers
(mpl_cleanup)¶
-
test_deepcopy_permanent_marker
(mpl_cleanup)¶
-
test_dict2marker
()¶
-
test_permanent_marker_names
(mpl_cleanup)¶
-
test_remove_permanent_marker_name
(mpl_cleanup)¶
-
-
hyperspy.tests.drawing.test_plot_markers.
test_plot_eds_lines
()¶
-
hyperspy.tests.drawing.test_plot_markers.
test_plot_line_markers
(mpl_cleanup)¶
-
hyperspy.tests.drawing.test_plot_markers.
test_plot_point_markers
(mpl_cleanup)¶
-
hyperspy.tests.drawing.test_plot_markers.
test_plot_rectange_markers
(mpl_cleanup)¶
-
hyperspy.tests.drawing.test_plot_markers.
test_plot_text_markers_sig
(mpl_cleanup)¶
hyperspy.tests.drawing.test_plot_model module¶
-
hyperspy.tests.drawing.test_plot_model.
create_ll_signal
(signal_shape=1000)¶
-
hyperspy.tests.drawing.test_plot_model.
create_sum_of_gaussians
(convolved=False)¶
-
hyperspy.tests.drawing.test_plot_model.
test_fit_EELS_convolved
(convolved)¶
-
hyperspy.tests.drawing.test_plot_model.
test_plot_gaussian_eelsmodel
(convolved, plot_component, binned)¶
hyperspy.tests.drawing.test_plot_mva module¶
hyperspy.tests.drawing.test_plot_signal module¶
hyperspy.tests.drawing.test_plot_signal1d module¶
-
class
hyperspy.tests.drawing.test_plot_signal1d.
TestPlotSpectra
¶ Bases:
object
-
s
= <Signal1D, title: , dimensions: (6|512)>¶
-
s_reverse
= <Signal1D, title: , dimensions: (6|512)>¶
-
classmethod
setup_class
()¶
-
classmethod
teardown_class
()¶
-
test_plot_spectra
(mpl_cleanup, style, fig, ax)¶
-
test_plot_spectra_rev
(mpl_cleanup, style, fig, ax)¶
-
test_plot_spectra_sync
(mpl_cleanup, figure)¶
-
-
hyperspy.tests.drawing.test_plot_signal1d.
test_plot_two_cursors
(mpl_cleanup, ndim, plot_type)¶
hyperspy.tests.drawing.test_plot_signal2d module¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot
(mpl_cleanup, scalebar, colorbar, axes_ticks, centre_colormap)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_colorbar
(mpl_cleanup, colorbar)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_not_signal
()¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_saturated_pixels
(mpl_cleanup, saturated_pixels)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_signal1D
()¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_single_image
(mpl_cleanup)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_images_single_image_stack
(mpl_cleanup)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_plot_multiple_images_list
(mpl_cleanup, vmin, vmax)¶
-
hyperspy.tests.drawing.test_plot_signal2d.
test_rgb_image
(mpl_cleanup, normalization)¶
hyperspy.tests.drawing.test_plot_widgets module¶
-
class
hyperspy.tests.drawing.test_plot_widgets.
TestPlotLine2DWidget
¶ Bases:
object
-
setup_method
(method)¶
-
test_change_size
(mpl_cleanup)¶
-
test_change_size_snap_size
(mpl_cleanup)¶
-
test_change_size_snap_size_different_scale
()¶
-
test_indices
()¶
-
test_init
()¶
-
test_length
()¶
-
test_plot_line2d
(mpl_cleanup)¶
-
test_position
()¶
-
test_position_snap_position
()¶
-