BasePlot#

class jetset.plot_sedfit.BasePlot(figsize=(8, 6), dpi=100)[source]#

Bases: object

Lightweight base wrapper around a single Matplotlib axis.

Notes

Provides common axis limit helpers and redraw/autoscale behavior reused by specialized JetSeT plotting classes.

Methods Summary

rescale([x_min, x_max, y_min, y_max])

Rescale.

setlim([x_min, x_max, y_min, y_max])

Setlim.

update_plot()

Update plot.

Methods Documentation

rescale(x_min=None, x_max=None, y_min=None, y_max=None)[source]#

Rescale.

Parameters:
  • x_min (object, optional) – Minimum value for x.

  • x_max (object, optional) – Maximum value for x.

  • y_min (object, optional) – Minimum value for y.

  • y_max (object, optional) – Maximum value for y.

setlim(x_min=None, x_max=None, y_min=None, y_max=None)[source]#

Setlim.

Parameters:
  • x_min (object, optional) – Minimum value for x.

  • x_max (object, optional) – Maximum value for x.

  • y_min (object, optional) – Minimum value for y.

  • y_max (object, optional) – Maximum value for y.

update_plot()[source]#

Update plot.