How to adjust the resolution of PyPlot in Pluto?
import PyPlot as plt
let
X=collect(0:0.01:10)
plt.clf()
plt.plot(X,sin.(exp.(X/3)))
figure=plt.gcf()
end
How to adjust the resolution of PyPlot in Pluto?
import PyPlot as plt
let
X=collect(0:0.01:10)
plt.clf()
plt.plot(X,sin.(exp.(X/3)))
figure=plt.gcf()
end
Use figure(size=(...))
?
Can this only be resized? I know this can adjust size:
figure=PyPlot.gcf()
figure.set_size_inches(8,3)
but I don’t know how to adjust the dpi
figure.set_dpi(150.0`)
?