5
Ich habe ein Skript, das PNG-Bilder aus Protokolldaten erstellt. Es funktioniert gut, auf einer Produktionsmaschine, aber jetzt spuckt Fehler auf einem neuen Feld, während diese Linie Verarbeitung:Fehler beim Ausführen von matplotlib.pyplot.subplots()
fig, ax = plt.subplots(1,1, figsize=(20,14))
AttributeError: 'module' object has no attribute 'subplots'
ich Probleme in Version Unterschiede in verschiedenen Modulen vermuten. Irgendwelche Einsichten?
Ich nehme an, Sie haben Matplotlib als PLT importiert? – Kitchi
Welche Versionen von Python/MPL laufen Sie? Wie wird "plt" in Ihren Code importiert? –
import matplotlib.pyplot as plt –