Plotting Functions ================== This package provides convenience plotting functions for visualizing and interpreting X-ray spectra. It relies on the `matplotlib `_ plotting infrastructure. All functions take a `Matplotlib AxesSubplot object `_ object as the primary argument. We recommend setting up the Axes object using the `matplotlib.pyplot.subplot `_ function. For example, to set up axes for a single plot window: :: import matplotlib.pyplot as plt ax = plt.subplot(111) Plot a counts histogram ^^^^^^^^^^^^^^^^^^^^^^^ .. autofunction:: pyxsis.plot.plot_counts Plot a flux spectrum ^^^^^^^^^^^^^^^^^^^^ .. autofunction:: pyxsis.plot.plot_unfold