gondola.visual.style#

Consistent plotstyles, e.g. to be used in gander, the online/live monitoring tool of gaps-online-software

Functions

gander_2dplot(h, xlabel, ylabel, title[, ...])

A plot with a default style for the streamlit app

gander_line_plot(xs, ys, xlabel, ylabel, title)

gander_multi_plot(h, xlabel, title, labels, ...)

A plot with a default style for the streamlit app

gander_plot(h, xlabel, title[, figsize, ...])

A plot with a default style for the streamlit app

gander_scatter_plot(xs, ys, xlabel, ylabel, ...)

gondola.visual.style.gander_scatter_plot(xs, ys, xlabel: str, ylabel: str, title: str, figsize=(5.78851, np.float64(3.5774959242186535)), **kwargs) Figure#
gondola.visual.style.gander_line_plot(xs, ys, xlabel: str, ylabel: str, title: str, figsize=(5.78851, np.float64(3.5774959242186535)), **kwargs) Figure#
gondola.visual.style.gander_plot(h: hist1d, xlabel: str, title: str, figsize=(5.78851, np.float64(3.5774959242186535)), gauss_fit=False, use_gaps_style=False, landau_fit=False, log=False, **kwargs) Figure#

A plot with a default style for the streamlit app

# Arguemtns:

# Keyword Arguments:

**kwargs : to be passed to d.hist1d.line

gondola.visual.style.gander_multi_plot(h: list[hist1d], xlabel: str, title: str, labels: list[str], kwargs: list[dict], use_gaps_theme=False, log=False) Figure#

A plot with a default style for the streamlit app

# Arguemtns:

  • kwargs : to be passed to d.hist1d.line

# Keyword Arguments:
  • use_gaps_themeoveride styling settings for the histograms

    with the "official" GAPS style (K.Perez, S.Vickers)

gondola.visual.style.gander_2dplot(h: hist2d, xlabel: str, ylabel: str, title: str, xlim=None, invert_yaxis=False, **kwargs) Figure#

A plot with a default style for the streamlit app

# Arguemtns:

**kwargs : to be passed to d.hist1d.line