Ich benutze ein Jupyter-Notebook und ich möchte ein Raster von Unterplots, die 6 Parzellen hoch ist durch 4 Parzellen tief.Matplotlib Subplots nicht glücklich Auspacken
Bevor irgendwelche Daten hinzufügen oder Manipulation der Grundstücke an alles, was ich habe versucht, nur die folgende Zeile in Isolation auszuführen:
f, (ax1, ax2) = plt.subplots(6, 4, sharex=True, figsize=(13, 7))
Es gibt diese Ausnahme:
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-66-4b47dbb065be> in <module>()
12 # fig, ax = plt.subplots(1, 1, figsize=(13, 7))
13
---> 14 f, (ax1, ax2) = plt.subplots(6, 4, sharex=True, figsize=(13, 7))
15 # ax1.plot(x, y)
16 # ax1.set_title('Sharing Y axis')
ValueError: too many values to unpack