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

Selecting the plot server #101

Open
chuaxr opened this issue Aug 25, 2023 · 2 comments
Open

Selecting the plot server #101

chuaxr opened this issue Aug 25, 2023 · 2 comments

Comments

@chuaxr
Copy link

chuaxr commented Aug 25, 2023

When .plot() is called, the server appears to be randomly assigned (e.g. localhost:52401). It would be useful to be able to specify this number in advance (e.g. localhost:12345) for port-forwarding purposes.

According to the discussion in #99, this feature is not yet available but should be easy to add.

@robertjwilson
Copy link
Member

Are you running nctoolkit from Python on the terminal @chuaxr ? Internally, it is calling hvplot/panel, which can be tweaked easily I think. My assumption is that this would only be needed when running Python from the terminal, as the plots should show up elsewhere, e.g. in Juypyter notebooks.

Internally, the calls are slightly different depending on whether you are running it from the terminal, so I'd need to know if it's only the terminal calls that should be changed.

@chuaxr
Copy link
Author

chuaxr commented Aug 25, 2023

Yes, I'm thinking about calling nctoolkit from the terminal.

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

No branches or pull requests

2 participants