Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Set fg to figsize[0] like before
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Oct 11, 2014
1 parent 1a48c6b commit 49ce20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/plot/plot3d/base.pyx
Expand Up @@ -1195,7 +1195,7 @@ end_scene""" % (render_params.antialiasing,
if DOCTEST_MODE or viewer=='jmol':
# Temporary hack: encode the desired applet size in the end of the filename:
# (This will be removed once we have dynamic resizing of applets in the browser.)
fg = figsize[0]*100
fg = figsize[0]
sizedname = lambda ext: makename("-size{}{}".format(fg*100, ext))

if EMBEDDED_MODE:
Expand Down

0 comments on commit 49ce20b

Please sign in to comment.