Skip to content

Commit 3e8fa45

Browse files
committed
export as jpeg
1 parent aa143cd commit 3e8fa45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/conditional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def gauss2(x, y, μ, C):
7474

7575
config = {
7676
'toImageButtonOptions': {
77-
'format': 'png', # png, svg, pdf, jpeg, webp
77+
'format': 'jpeg', # png, svg, pdf, jpeg, webp
7878
'width': None, # None: use currently-rendered size
7979
'height': None,
8080
'filename': 'conditional',

renderer/Object3DRenderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, object_3D, id, register_3d_callbacks=True):
2323
'scrollZoom': True,
2424
"modeBarButtonsToRemove": ["select2d", "lasso2d"],
2525
"toImageButtonOptions": {
26-
"format": "png",
26+
"format": "jpeg",
2727
"scale": 8,
2828
}
2929
}

0 commit comments

Comments
 (0)