'python how to iteratively export plots and text to html
I have a loop to create matplotlib figures:
x1 = np.array([1,2,3,4,5])
x2 = np.array([1,3,3,8,5])
x3 = np.array([9,2,5,4,5])
n = 30
for i in n:
print(f"============{i}==========")
fig, axs = plt.subplots(1, 3, figsize=[18, 10])
axs[0].plot(x1)
axs[1].plot(x2)
ax2[2].plot(x3)
It all presented nicely in my nb but how want to export it to an HTML with all the text and the images. What is the based way to do so?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
