Skip to content

Style guideline for plotting data with Python using stylesheets

License

Notifications You must be signed in to change notification settings

Leibniz-IWT/neatplot

Repository files navigation

neatplot

Style guideline for plotting data with Python using stylesheets.

Tutorial

For detailed explanations please see the accompanying tutorial notebook. A minimum working example:

import matplotlib.pyplot as plt
import numpy as np
plt.style.use('standard.mplstyle')

# make data
x = np.linspace(0, 10, 100)
y = 4 + 2 * np.sin(2 * x)
# plot
fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()

output:

About

Style guideline for plotting data with Python using stylesheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published