Skip to content

Commit f3c7123

Browse files
committed
specify format
1 parent 3c0f2bf commit f3c7123

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Examples.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@
313313
"\n",
314314
"def render_altair(chart):\n",
315315
" b = BytesIO()\n",
316-
" b.name = \"x.png\"\n",
317-
" chart.save(b, scale_factor=2.0)\n",
316+
" chart.save(b, scale_factor=2.0, format='png')\n",
318317
" return b"
319318
]
320319
},

0 commit comments

Comments
 (0)