Info_Ginga_Plot

class ginga.rv.plugins.Info.Info_Ginga_Plot(fv, fitsimage)[source]

Bases: Info_Common

Info sidebar for the Ginga Plot viewer.

Methods Summary

add_to_plot_cb(w)

build_gui(container)

clear()

clear_plot_cb(w)

close()

color_select_cb(w, color)

motion_cb(viewer, button, data_x, data_y)

range_set_cb(viewer, ranges)

redo()

This is called when a new image arrives or the data in the existing image changes.

save_cb()

Save plot to file.

set_marker_cb(w, tf)

Toggle show/hide data point markers.

set_xlim_hi_cb([redraw])

Set plot limit based on user values.

set_xlim_lo_cb([redraw])

Set plot limit based on user values.

set_xlimits_widgets([set_min, set_max])

Populate axis limits GUI with current plot values.

set_ylim_hi_cb([redraw])

Set plot limit based on user values.

set_ylim_lo_cb([redraw])

Set plot limit based on user values.

set_ylimits_widgets([set_min, set_max])

Populate axis limits GUI with current plot values.

setup_table(table, plot)

start()

This method is called to start the plugin.

stop()

This method is called to stop the plugin.

x_dist_cb(w, index)

x_select_cb(w, index)

Callback to set X-axis column.

y_dist_cb(w, index)

y_select_cb(w, index)

Callback to set Y-axis column.

Methods Documentation

add_to_plot_cb(w)[source]
build_gui(container)[source]
clear()[source]
clear_plot_cb(w)[source]
close()[source]
color_select_cb(w, color)[source]
motion_cb(viewer, button, data_x, data_y)[source]
range_set_cb(viewer, ranges)[source]
redo()[source]

This is called when a new image arrives or the data in the existing image changes.

save_cb()[source]

Save plot to file.

set_marker_cb(w, tf)[source]

Toggle show/hide data point markers.

set_xlim_hi_cb(redraw=True)[source]

Set plot limit based on user values.

set_xlim_lo_cb(redraw=True)[source]

Set plot limit based on user values.

set_xlimits_widgets(set_min=True, set_max=True)[source]

Populate axis limits GUI with current plot values.

set_ylim_hi_cb(redraw=True)[source]

Set plot limit based on user values.

set_ylim_lo_cb(redraw=True)[source]

Set plot limit based on user values.

set_ylimits_widgets(set_min=True, set_max=True)[source]

Populate axis limits GUI with current plot values.

setup_table(table, plot)[source]
start()[source]

This method is called to start the plugin. It is called after build_gui().

stop()[source]

This method is called to stop the plugin.

x_dist_cb(w, index)[source]
x_select_cb(w, index)[source]

Callback to set X-axis column.

y_dist_cb(w, index)[source]
y_select_cb(w, index)[source]

Callback to set Y-axis column.