Skip to content

Commit a5bf462

Browse files
committed
set renderer
1 parent 1fc9100 commit a5bf462

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Examples.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"\n",
4949
"templated_fig = pio.to_templated(fig)\n",
5050
"pio.templates['my_template'] = templated_fig.layout.template\n",
51-
"pio.templates.default = 'my_template'"
51+
"pio.templates.default = 'my_template'\n",
52+
"\n",
53+
"alt.renderers.enable('png')"
5254
]
5355
},
5456
{
@@ -354,7 +356,6 @@
354356
},
355357
"outputs": [],
356358
"source": [
357-
"%%altair\n",
358359
"(\n",
359360
" alt.Chart(\n",
360361
" mpg, title=\"Number of Cars by Make\"\n",

0 commit comments

Comments
 (0)