Tensorboard: Feature: scalar chart export as SVG/LaTeX/pgfplots

Created on 16 Jun 2017  路  3Comments  路  Source: tensorflow/tensorboard

Migrated from https://github.com/tensorflow/tensorflow/issues/9024.

@el3ment says:

It would be nice if there was an export option in tensorboard that would export a latex-ready version of the visible graph - perhaps using SVG, Pgfplots or something similar. It's possible now to export CSV, and create the graphic by hand... but having it baked into tensorboard would be nice.

scalars contributions welcome feature

Most helpful comment

Given that we're already able to export to CSV, couldn't this be roughly implemented by having a "Save to image" option that plots the data from the CSV values? That would at the very least condense the "save to CSV -> load to numpy -> plot -> save to image" sequence of steps into a single step.

All 3 comments

We don't foresee being able to implement this in the near future, but PRs are welcome. Note that the current vz-line-chart component that implements the scalar charts does use SVG elements, but it uses a constellation of such elements that together make up the chart, so even an implementation to export as SVG would require somehow compositing together those elements correctly.

Given that we're already able to export to CSV, couldn't this be roughly implemented by having a "Save to image" option that plots the data from the CSV values? That would at the very least condense the "save to CSV -> load to numpy -> plot -> save to image" sequence of steps into a single step.

seems critical to have plots for publication, otherwise why not just use matplotlib?

would be more performant to use canvas than svg and much easier to save

http://bl.ocks.org/biovisualize/8187844

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hadim picture hadim  路  4Comments

yegortokmakov picture yegortokmakov  路  3Comments

wengqi123 picture wengqi123  路  3Comments

ismael-elatifi picture ismael-elatifi  路  3Comments

Daniel451 picture Daniel451  路  3Comments