You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix downloaded graph PNGs to make them not tiny (#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#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
0 commit comments