Skip to content

Allow users to pass backend option to .plot() #28619

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

Closed
jsignell opened this issue Sep 25, 2019 · 1 comment · Fixed by #28622
Closed

Allow users to pass backend option to .plot() #28619

jsignell opened this issue Sep 25, 2019 · 1 comment · Fixed by #28622
Labels

Comments

@jsignell
Copy link
Contributor

Once you have installed another plotting library with a pandas.plotting entrypoint it would be nice to be able to toggle back and forth between different backends even within on session.

What currently exists

pd.options.plotting.backend = 'holoviews'

Proposed additional API

df.plot(backend='holoviews')

This would be particularly useful when a particular backend doesn't support a certain type of plot, or you need to use a backend to get some specific functionality but don't want to use if for your whole notebook.

@datapythonista - @TomAugspurger mentioned that you might have opinions on this.

@datapythonista
Copy link
Member

I'm ok with this, sounds reasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants