plt.style.use('default')
ax = pitch_pos.plot(
x='Mean pitch (Hz)',
y='Pitch stdev(Hz)',
xlabel='Durchschnittliche Grundfrequenz (Hz)',
ylabel='Standardabweichung Grundfrequenz (Hz)',
kind='scatter',
c='Maximum pitch (Hz)',
colormap='viridis')
ax.figure.savefig("figures/pitch_mean-over-stdv.png", dpi=300)
Links
- How do I create plots in pandas? — pandas 1.5.1 documentation
- Chart visualization — pandas 1.5.1 documentation
- python - save a pandas.Series histogram plot to file - Stack Overflow
- python - Pandas scatter plot by category and point size - Stack Overflow
- scatter(x, y) — Matplotlib 3.6.0 documentation