Seite 1 von 1

Matplotlib exportieren html

Verfasst: Dienstag 16. Juli 2019, 14:51
von JohannX
Hallo Zusammen!

Ich habe eine tolle Aufgabe bekommen, es soll aus einer Datei die bis zu 600MB haben kann Werte ausgelesen werden.
Daraus sollen aus 2 Werten eine Grafik und anschließend als html File ausgegeben werden.

Bis jetzt habe ich zwar alles geschafft, doch konnte ich die Grafik nur als png ausgeben :cry:

Code: Alles auswählen

plt.savefig('/pfad/dateiname.png')
Konnte bis dato noch nichts im Internet finden, hoffe hier kann mir jemand Behilflich sein :)

John

Re: Matplotlib exportieren html

Verfasst: Dienstag 16. Juli 2019, 15:02
von __deets__
Schau dir mal plotly an, das macht das.

Re: Matplotlib exportieren html

Verfasst: Mittwoch 17. Juli 2019, 10:00
von JohannX
Super! Danke dir, das hat so funktioniert! :D