8000 Fixed writing pgf code to streams. · firebird00/matplotlib@9fcd026 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9fcd026

Browse files
committed
Fixed writing pgf code to streams.
1 parent d8965dd commit 9fcd026

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/backends/backend_webagg_core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,7 @@ def get_javascript(cls, stream=None):
403403
for filetype, ext in sorted(FigureCanvasWebAggCore.
404404
get_supported_filetypes_grouped().
405405
items()):
406-
if not ext[0] == 'pgf': # pgf does not support BytesIO
407-
extensions.append(ext[0])
406+
extensions.append(ext[0])
408407
output.write("mpl.extensions = {0};\n\n".format(
409408
json.dumps(extensions)))
410409

0 commit comments

Comments
 (0)
0