You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plt.plot(range(10), range(10)) # plot 10 getallen (0-9 uitgezet tegen 0-9)
25
-
26
-
plt.tight_layout() # plaats (net) voldoende witruimte rond het figuur
27
-
28
-
plt.savefig('fig.pdf', bbox_inches='tight') # maak figuur niet groter dan
29
-
# nodig is
30
-
plt.show()
31
14
```
32
15
33
16
De matplotlib formatter voor de assen wordt afzonderlijk voor de x- en y-as aangemaakt. Hierin geef je aan hoeveel significante cijfers op de assen geplaatst moeten worden.
0 commit comments