-
Notifications
You must be signed in to change notification settings - Fork 82
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
Some Python plots only works when executed in console (e.g plotly and altair) #4891
Comments
I think part of this is just how Python works. Since the script is named You can fix that issue by renaming the module to something other than After that fix, it still doesn't display anything in the plots pane for me though. |
@seeM , yes I'm going to go through our example codebase and make sure to fix this and any other with similar filenames. |
I think we mistakenly assigned this to you, @jonvanausdeln. As @seeM mentioned, even after the rename there is an issue. |
I think you are correct. I will move it back to backlog and remove my name. I will still fix the filenames (and tests that use them). But I just checked and yes, it still won't run with the filename changed. |
Also note that plotly doesn't work in a notebook:
|
An But does show if executed line-by-line using |
System details:
Windows 11
Ubuntu 22
Positron and OS details:
2024.10.0-13
Interpreter details:
Python 3.12.2
Describe the issue:
Running the following code using the play button "Run Python File in Console" results in an error, but running line by line in the console works.
Steps to reproduce the issue:
Expected or desired behavior:
Figure to show when clicking the run button as well as line by line in the console.
Were there any error messages in the UI, Output panel, or Developer Tools console?
The text was updated successfully, but these errors were encountered: