Tags: github285852/tensorboard
Tags
Fix downloaded graph PNGs to make them not tiny (tensorflow#371) Summary: In the graph dashboard, we attempt to set the size of the download canvas according to the scene size. However, the syntax that we use to do this is no longer supported by d3v4 ([source]), and so this ends up doing nothing. Simply changing the syntax fixes the bug. Fixes tensorflow#88. [source]: d3/d3#2793 Test Plan: Launch the graph explorer, and click "Download PNG" at left. Before this patch, this always resulted in a 300×150 px image. Now, it results in an image whose size is properly determined by the contents of the graph. wchargin-branch: fix-graph-png-size