Skip to content

Add axis scaling kwargs to DataArray.plot() #2224

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
dcherian opened this issue Jun 11, 2018 · 3 comments · Fixed by #2294
Closed

Add axis scaling kwargs to DataArray.plot() #2224

dcherian opened this issue Jun 11, 2018 · 3 comments · Fixed by #2294

Comments

@dcherian
Copy link
Contributor

It would be useful to add the boolean kwargs logx, logy, loglog to DataArray.plot() just as in pandas.DataFrame.plot()

https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.plot.html#pandas.DataFrame.plot

@shoyer
Copy link
Member

shoyer commented Jun 12, 2018

Let's add logx and logy, but not the redundant loglog. It's easy enough to write logx=True, logy=True.

@dcherian
Copy link
Contributor Author

Actually do we want to make it more general by saying xscale='log' or xscale='symlog' or xscale='linear'?

@shoyer
Copy link
Member

shoyer commented Jun 12, 2018

Yeah, that's probably a better approach.

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 a pull request may close this issue.

2 participants