Example

Plot

In [1]:
from py4vasp import plot
import numpy as np

In [2]:
import plotly.io as pio
pio.renderers.default = "plotly_mimetype+notebook_connected"
In [3]:
x = np.linspace(0, 2, 30)
y = x**2
plot(x, y, "example")
In [ ]: