Skip to content
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

Merged
merged 113 commits into from
Jan 25, 2021

Conversation

caitlynachen
Copy link
Contributor

@caitlynachen caitlynachen commented Jan 22, 2021

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

.. code-block:: python

lux.config.plotting_backend = "matplotlib" # or 'matplotlib_code'
lux.config.plotting_backend = "matplotlib" # or 'matplotlib_code'

def add_title(fig, ax):
Copy link
Member

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.

doc/source/guide/style.rst Show resolved Hide resolved
doc/source/guide/style.rst Outdated Show resolved Hide resolved
@dorisjlee
Copy link
Member

Thanks @caitlynachen! Let's add a test case when plotting_style is set for the matplotlib and reflect the tutorial changes in lux-binder.

@dorisjlee dorisjlee linked an issue Jan 22, 2021 that may be closed by this pull request
@dorisjlee dorisjlee merged commit 5e7d5c9 into lux-org:master Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend to different visualization renderer
5 participants