Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.19 KB

File metadata and controls

36 lines (23 loc) · 1.19 KB

Plot

About the Implementation

Why different backends inheriting from the Plot class? Why not using something like holoviews, which allows to plot numerical data with different plotting libraries using a common interface? In short:

  • Holoviews only support Matplotlib, Bokeh, Plotly. This would make impossible to add support for further libraries, such as K3D, ...
  • Not all needed features might be implemented on Holoviews. Think for example to plotting a gradient-colored line. Matplotlib and Bokeh are able to visualize it correctly, Plotly doesn't support this functionality. By not using Holoviews, we can more easily implement some work around.

spb.backends.base_backend

Plot

spb.backends.base_backend.Plot.append

spb.backends.base_backend.Plot.extend

spb.backends.base_backend.Plot.update_interactive

spb.backends.base_backend.Plot.colorloop

spb.backends.base_backend.Plot.colormaps

spb.backends.base_backend.Plot.cyclic_colormaps

spb.backends.base_backend.Plot.fig