fstplot

This module provides some utility plotting functions for use with the FEASST simulation program.

fstplot.val2map(values, cmname='viridis')[source]

Given list of values, return scalar_map for colors.

Usage: color=fstplot.val2map(range) for i in range:

plt.plot(…, color=color.to_rgba(range[i]))

fstplot.display(range, label=’label’)

fstplot.display(vals, label='', axes=None, fig=None, cmname='viridis')[source]

Display colorbar