lux.vislib.matplotlib package¶
Submodules¶
lux.vislib.matplotlib.BarChart module¶
-
class
lux.vislib.matplotlib.BarChart.
BarChart
(dobj, fig, ax)[source]¶ Bases:
lux.vislib.matplotlib.MatplotlibChart.MatplotlibChart
BarChart is a subclass of MatplotlibChart that render as a bar charts. All rendering properties for bar charts are set here.
See also
matplotlib.org
lux.vislib.matplotlib.Heatmap module¶
-
class
lux.vislib.matplotlib.Heatmap.
Heatmap
(vis, fig, ax)[source]¶ Bases:
lux.vislib.matplotlib.MatplotlibChart.MatplotlibChart
Heatmap is a subclass of MatplotlibChart that render as a heatmap. All rendering properties for heatmap are set here.
See also
matplotlib.org
lux.vislib.matplotlib.Histogram module¶
-
class
lux.vislib.matplotlib.Histogram.
Histogram
(vis, fig, ax)[source]¶ Bases:
lux.vislib.matplotlib.MatplotlibChart.MatplotlibChart
Histogram is a subclass of AltairChart that render as a histograms. All rendering properties for histograms are set here.
See also
matplotlib.org
lux.vislib.matplotlib.LineChart module¶
-
class
lux.vislib.matplotlib.LineChart.
LineChart
(dobj, fig, ax)[source]¶ Bases:
lux.vislib.matplotlib.MatplotlibChart.MatplotlibChart
LineChart is a subclass of MatplotlibChart that render as a line charts. All rendering properties for line charts are set here.
See also
matplotlib.org
lux.vislib.matplotlib.MatplotlibChart module¶
lux.vislib.matplotlib.MatplotlibRenderer module¶
-
class
lux.vislib.matplotlib.MatplotlibRenderer.
MatplotlibRenderer
(output_type='matplotlib')[source]¶ Bases:
object
Renderer for Charts based on Matplotlib (https://matplotlib.org/)
-
create_vis
(vis, standalone=True)[source]¶ Input Vis object and return a visualization specification
Parameters: - vis (lux.vis.Vis) – Input Vis (with data)
- standalone (bool) – Flag to determine if outputted code uses user-defined variable names or can be run independently
Returns: chart – Output Altair Chart Object
Return type: altair.Chart
-
lux.vislib.matplotlib.ScatterChart module¶
-
class
lux.vislib.matplotlib.ScatterChart.
ScatterChart
(vis, fig, ax)[source]¶ Bases:
lux.vislib.matplotlib.MatplotlibChart.MatplotlibChart
ScatterChart is a subclass of MatplotlibChart that render as a scatter charts. All rendering properties for scatter charts are set here.
See also
matplotlib.org