Skip to content

Downloading a plotly plot as png in python interactive does not appear to actually save anywhere #3147

Description

Environment data

  • VS Code version: 1.38.0
  • Extension version (available under the Extensions sidebar): 2019.9.34474
  • OS and version: MacOS 10.14.6
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.4
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Relevant/affected Python packages and their versions: plotly 4.1.0
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version vscode-python#3977): True

Expected behaviour

After generating a plotly plot in Python Interactive, I want to save/download the plot as a png. I click on the little camera icon to “download plot as a png”. Two small screens appear saying “taking a snapshot, this may take a few seconds” then “Snapshot succeeded - newplot.png”. I would expect that file to then exist in my workspace.

Actual behaviour

The file does not appear in my workspace, and searching on my computer does not show any file existing.

Steps to reproduce:

  1. Generate plotly plot in python interactive window.
import plotly.express as px

iris = px.data.iris()
px.scatter(iris, x="sepal_width", y="sepal_length")
  1. Click download plot as png.
  2. Unable to find said file.

Screen Shot 2019-09-05 at 1 24 35 PM

Logs

Not comfortable dumping those right now because this is my work machine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions