frb.figures.utils

Simple utilities for figures

frb.figures.utils.log_me(val, err)[source]

Generate log and error from linear input

Args:
  • val (float)

  • err (float)

Returns:

Returns none if the err is negative

Return type:

float, (float/None)

frb.figures.utils.set_fontsize(ax, fsz)[source]

Set the fontsize throughout an Axis

Args:
  • ax (Matplotlib Axis)

  • fsz (float) – Font size

Returns:

frb.figures.utils.set_bokeh_fontsize(p, fsz)[source]

Adjust font size for Bokeh axes

Args:
  • p (Bokeh plot class)

  • sz (int) – Font size

frb.figures.utils.set_mplrc()[source]

Font fussing for matplotlib

Returns: