-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update plot_config to plotting_style and documentation #239
Conversation
doc/source/guide/style.rst
Outdated
.. code-block:: python | ||
|
||
lux.config.plotting_backend = "matplotlib" # or 'matplotlib_code' | ||
lux.config.plotting_backend = "matplotlib" # or 'matplotlib_code' | ||
|
||
def add_title(fig, ax): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we show the same example as above of changing color and adding title. It might be good to demonstrate how we can change settings for fig
and ax
parameter and when we should use each. Also would we be able to set something like plt.rcParam
? A few examples outlining the possible style changes here with links to matplotlib docs would be helpful here.
Thanks @caitlynachen! Let's add a test case when |
Changed the 'plot_config' parameter in the lux.config class to 'plotting_style' to be in alignment with other plotting parameter, 'plotting_backend'.
Updated the documentation accordingly