Axes and chart helpers¶
SignalPlot keeps drawing in Matplotlib. Helpers in signalplot.axes
tidy frames, tune common chart types, and enforce honest scales where
that matters.
Typical order¶
Build the figure with
plt.subplots,signalplot.figure(), orsignalplot.small_multiples().Plot data with ordinary
ax.plot,ax.bar, and so on.Optionally call style helpers such as
signalplot.style_line_plot(),signalplot.style_scatter_plot(), orsignalplot.style_bar_plot()when you want consistent line weights, marker restraint, or bar treatment without repeating kwargs.Call
signalplot.tidy_axes()orsignalplot.finish()for spine cleanup and light layout polish (see API docs for exact behavior).Save with
signalplot.save().
Bar charts and zero baselines¶
For magnitude comparisons, bar charts should read from a zero
baseline. signalplot.force_bar_zero() helps enforce that when an
axis range has drifted.
Small multiples¶
signalplot.small_multiples() returns a figure and a flat list of
axes with tidy_axes already applied, sized for a simple grid. Use it
when you want comparable panels without hand-rolling subplots every
time.
Uncertainty bands¶
signalplot.band() is a thin fill_between wrapper for intervals
or envelopes. It stays on the same axes as your main series.