Visdom: question: how to export the plot into Plot.ly

Created on 27 Jan 2019  路  5Comments  路  Source: fossasia/visdom

I am curious, there used to be a save button that would redirect me to Plot.ly to edit the graph, I can't find it anymore in the current version I use (0.1.8.8)

bug help wanted

All 5 comments

Hi @ebagdasa - sorry something must've happened to the old save button, but there still is one. Unfortunately its the >> link that is obscured by the pane resizing anchor. For now you can hide that element, but the real fix is going to be to find a way to either move that up or add a margin to the bottom of the container within the PlotPane. We'll take a look

haha, got it. Steps for others:
I had to delete a span (pane resizing anchor) that overlayed >> by using Developer tools in Chrome. Just right click on the >> and select inspect, it should open a console with exact location in html:

<span class="react-resizable-handle" style="touch-action: none;"></span>

Press delete and you should be able to click on >>.

IMO the quickest fix here with the least code churn would be to just update the label text to be slightly larger so that it its hit zone isn't completely eclipsed by the pane resizing anchor.

For example:

screen shot 2019-02-12 at 4 56 00 pm

This would just involve updating the linkText in the following line:

https://github.com/facebookresearch/visdom/blob/bdbed59a2ec469ae61d74d4c94c50d5ae0e8629d/js/PlotPane.js#L71

Why not move it to somewhere else?
The latest version still need to delete the element manually.

@zhangchenkai That's because this was never merged in, it fell off my radar - will get it fixed and merged in shortly!

Was this page helpful?
0 / 5 - 0 ratings