Open purpleskyfall opened 1 year ago
I'm trying aquarel in jupyter lab, but it's doesn't work sometimes (can't display in jupyter lab page).
You may try this code:
import numpy as np import matplotlib.pyplot as plt from aquarel import load_theme x = np.linspace(0, 10, 1000) sinx = np.sin(x) cosx = np.cos(x) with load_theme('boxy_light'): plt.subplot(2, 1, 1) plt.plot(x, sinx) plt.plot(x, cosx) plt.subplot(2, 1, 2) plt.plot(x, cosx) plt.show()
My environment:
python: 3.10.8 aquarel: 0.0.5 matplotlib: 3.5.2
Should I add %matplotlib inline manually?
%matplotlib inline
@purpleskyfall this at least works.
I'm trying aquarel in jupyter lab, but it's doesn't work sometimes (can't display in jupyter lab page).
You may try this code:
My environment: