This is in a very early stage of development so issues are to be expected. The lack of features is the major problem right now, but these are slowly but surely going to be added. If you find any problem, please file an issue and we will try to solve it as soon as possible. Any suggestion is welcome!
This library implements high-level functions to generate plots and drawings. Although we use Python/Plotly, the goal is to provide a convenient V library that is different than Plotly. The difference happens because we want convenience for the V developer while getting the fantastic quality of Plotly grinning.
Internally, we use Plotly via a Python 3 script. First, we generate a
JSON files in a directory under $VMODULES/vsl/plot
, and then
we call python3 using V's os.execute
. The JSON file is then read
by Plotly and the plot is generated.
vsl.plot
follows the structure of
Plotly's graph_objects.
Check the examples folder and compare it to Plotly's Python examples
for a better understanding.
- Bar
- Heatmap
- Histogram
- Pie
- Scatter
- Scatter 3D
- Surface
Output
Output
Output
Output
Output
Output