easychart.Grid#

class easychart.Grid(plots=None, *, width=None, theme=None)#

Grid of chart plots

__init__(plots=None, *, width=None, theme=None)#
Parameters:
  • plots (list) – list of individual plots

  • width (str) – total width of grid, as pixels (e.g. “1280px”)

  • theme (str, dict) – theme name or dict of theme options

add(chart, *, width=None) None#

Adds a chart (or plot) to the grid

Parameters:

width (str) – width of the plot, expressed as a percentage of the grid width