utils

This module provides utility classes and functions used by plotly_gtk.chart.PlotlyGtk.

Functions

get_base_fig()

Avoid importing plotly by creating a base figure dictionary.

get_cartesian_subplots(data)

Get the list of cartesian axes pairings with data plotted on them.

parse_color(color)

Return the RGB components of a color provided as a string.

parse_font(font[, single_family])

Parse a dictionary of font parameters and return a gi.repository.Pango.FontDescription.

round_sf(val[, sf])

Round to specified significant figures.

update_dict(d, u)

Return a copy of dict d recursively updated with values from dict u.

Modules

plotly_types

Utilities to type plotly dicts.

ticks