LinkedEarth / Pyleoclim_util

Python Package for the Analysis of Paleoclimate Data. Documentation at
https://pyleoclim-util.readthedocs.io
GNU General Public License v3.0
88 stars 33 forks source link

turn style off #615

Open khider opened 1 month ago

khider commented 1 month ago

Is your feature request related to a problem? Please describe.

If Pyleoclim is imported, the default style gets implemented on all graphics, including the one made by matplotlib. The Matplotlib style implementation goes back to the default of Matplotlib instead of the adaptive style in this library.

Describe the solution you'd like A way to turn style off when loading.

@fzhu2e since you implemented this in Pyleoclim, can you tell me what to add to turn off styles completely? (you don't need to do the implementation. Just need to a pointer in the code for a if/else loop and an off option).

fzhu2e commented 1 month ago

Sure, just delete this line to turn off the default "journal" style: https://github.com/LinkedEarth/Pyleoclim_util/blob/master/pyleoclim/__init__.py#L17

khider commented 1 month ago

Thank you!