sys-bio / tellurium

Python Environment for Modeling and Simulating Biological Systems
http://tellurium.analogmachine.org/
Apache License 2.0
107 stars 36 forks source link

Save Image in tellurium Notebook doesn't do anything #273

Open hsauro opened 6 years ago

hsauro commented 6 years ago

Plotted a graph in Tellurium notebook, discovered that save image popup menu doesn't appear to do anything.

Note ther is no about in the Help menu so can't tell what vrsion I was running.

0u812 commented 6 years ago

The camera icon is used to save the plot as a file, while the diskette icon will upload it to your Plotly account. They both work for me on Windows.

selection_082

matthiaskoenig commented 6 years ago

I just tested this with the latest deb package on linux and works, i.e. can save the plot in the notebook IDE as png. (also works in the normal notebook with a pip install for me on linux) M

On Mon, Oct 23, 2017 at 5:40 PM, Kyle Medley notifications@github.com wrote:

The camera icon is used to save the plot as a file, while the diskette icon will upload it to your Plotly account. They both work for me on Windows.

[image: selection_082] https://user-images.githubusercontent.com/7402146/31898300-ac803b06-b7cd-11e7-86ed-38b6fc684d5e.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sys-bio/tellurium/issues/273#issuecomment-338701230, or mute the thread https://github.com/notifications/unsubscribe-auth/AA29usT_zET2GGkGId8mCt3_PoFd2w9mks5svLNQgaJpZM4QBT5y .

-- Dr. Matthias König Junior Group Leader LiSyM - Systems Medicine of the Liver Humboldt-University Berlin, Institute of Biology, Institute for Theoretical Biology https://www.livermetabolism.com konigmatt@googlemail.com Tel: +49 30 20938450 Tel: +49 176 81168480

hsauro commented 6 years ago

Are you right-clicking to bring up the popup menu? In my version that doesn't do anything. Also I don't have any camera icons etc.

Herbert

On Mon, Oct 23, 2017 at 1:13 PM, Matthias König notifications@github.com wrote:

I just tested this with the latest deb package on linux and works, i.e. can save the plot in the notebook IDE as png. (also works in the normal notebook with a pip install for me on linux) M

On Mon, Oct 23, 2017 at 5:40 PM, Kyle Medley notifications@github.com wrote:

The camera icon is used to save the plot as a file, while the diskette icon will upload it to your Plotly account. They both work for me on Windows.

[image: selection_082] https://user-images.githubusercontent.com/7402146/ 31898300-ac803b06-b7cd-11e7-86ed-38b6fc684d5e.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/sys-bio/tellurium/issues/273#issuecomment-338701230 , or mute the thread https://github.com/notifications/unsubscribe- auth/AA29usT_zET2GGkGId8mCt3_PoFd2w9mks5svLNQgaJpZM4QBT5y .

-- Dr. Matthias König Junior Group Leader LiSyM - Systems Medicine of the Liver Humboldt-University Berlin, Institute of Biology, Institute for Theoretical Biology https://www.livermetabolism.com konigmatt@googlemail.com Tel: +49 30 20938450 <+49%2030%2020938450> Tel: +49 176 81168480 <+49%20176%2081168480>

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sys-bio/tellurium/issues/273#issuecomment-338782338, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAZDgGs6uWETwACmWvWbsDEg-tKr5W6ks5svPNvgaJpZM4QBT5y .

matthiaskoenig commented 6 years ago

I am only hovering with the mouse over the plotly plot (the icons appear and clicking the camera icon to save). Icons only appear on mouse over with the plot.

Perhaps you have set the matplotlib backend, try

te.setDefaultPlottingEngine("plotly")

before plotting. You shold seethe numbers appear also on mouseover.

M

matthiaskoenig commented 6 years ago

Of course

te.setDefaultPlottingEngine("plotly")
hsauro commented 6 years ago

Ok I can try that. still there shouldn't be a pop up that does nothing.

Herbert

On Tue, Oct 24, 2017 at 12:34 AM Matthias König notifications@github.com wrote:

Of course

te.setDefaultPlottingEngine("plotly")

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sys-bio/tellurium/issues/273#issuecomment-338900932, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAZDgbL3CKH3U_MCxM3RcmfrIJbXJENks5svZLSgaJpZM4QBT5y .