-
Notifications
You must be signed in to change notification settings - Fork 33
Connection refused error #26
Comments
Thanks for the report. I can't reproduce this and I don't have any guesses as to what may be causing it. Please let me know if you are able to debug the issue. |
Oh, maybe one guess: does your chart use data from an external URL? |
No, my chart doesn't use data from an external URL, this issue is happening from chart data that comes directly from a csv that I parsed into a DataFrame on my local machine. I wasn't able to resolve that issue, but after reinstalling all dependencies into a conda environment and switching to python 3.8, this problem went away. |
I also have this problem and I also don't use external data. One thing that I don't know if it is related is that I have had problem installing |
I also get this problem semi-regularly despite not intentionally making any network calls. Restarting my Jupyter kernel temporarily fixes this. |
For me, it seems like this might be triggered when the jupyter kernel gets interrupted (not stopped) and then a new altair command is issued? I can try to more rigorously test this in the future. |
I'm having the same problem saving ConcatChart objects using chart.save(filename.xyz). First time. Occurs when saving as PNG or SVG but works fine when saving as HTML. However, PNG and SVG files are generated just fine when I click on the ... in the chart. Working in JupyterLab. |
Same here. |
Since Altair 5.2, the functionality of Altair Saver is now available in Altair via the vl-convert package. Most of the functionality has been available since 5.0, and the main addition in 5.2 was PDF export. See the docs on how to save charts for more details. We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo. |
I'm getting an issue that looks like this when I'm trying to save a relatively large chart. I get this error when using either the node backend or the selenium backend (correctly installed all dependencies according to the readme). What could cause this problem? This only happens on the call to
save(summary_graph,'summary_graph.png')
where summary_graph is of typealtair.vegalite.v4.api.HConcatChart
.The text was updated successfully, but these errors were encountered: