LupoA / lsdensities

Smeared spectral densities from lattice correlators
GNU General Public License v3.0
3 stars 0 forks source link

Don't force your matplotlib style on me #35

Open edbennett opened 6 months ago

edbennett commented 6 months ago

Users of the library may want to use their own Matplotlib styles, which may conflict with the ones you set.

If you want to provide a default style for the executables, then define a .mplstyle for this, and allow the user to override it with their own.

A good rule I think would be:

Sometimes there may be reasons to override the style, but this should not be done via plt.rc, and should only be when strictly necessary (e.g. setting Helvetica as the font in the legend would not be needed)