hyperspy.drawing.signal1d module

class hyperspy.drawing.signal1d.Signal1DFigure(title='')

Bases: hyperspy.drawing.figure.BlittedFigure

add_line(line, ax='left')
create_axis()
create_right_axis()
plot()
update()
class hyperspy.drawing.signal1d.Signal1DLine

Bases: object

Line that can be added to Signal1DFigure.

type

{‘scatter’, ‘step’, ‘line’} – Select the line drawing style.

line_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: {‘scatter’, ‘step’, ‘line’}

auto_update

bool – If False, executing _auto_update_line does not update the line plot.

set_line_properties()

Enables setting the line_properties attribute using keyword arguments.

Raises:ValueError – If an invalid keyword value is passed to line_properties.
close()
color
get_complex
line_properties
plot(data=1)
set_line_properties(**kwargs)
type
update(force_replot=False, render_figure=True)

Update the current spectrum figure