File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ license = MIT
15
15
license_file = LICENSE
16
16
classifiers =
17
17
Development Status :: 4 - Beta
18
+ Framework :: Matplotlib
18
19
License :: OSI Approved :: MIT License
19
20
Operating System :: OS Independent
20
21
Programming Language :: Python
Original file line number Diff line number Diff line change @@ -266,10 +266,12 @@ def _table(obj, data): # noqa: C901
266
266
if data ["table_row_sep" ] != "\n " :
267
267
# don't want the \n in the table definition, just in the data (below)
268
268
opts .append ("row sep=" + data ["table_row_sep" ].strip ())
269
+
269
270
if len (opts ) > 0 :
270
- content .append ("table [{}] {{%\n " .format ("," .join (opts )))
271
+ opts_str = "," .join (opts )
272
+ content .append (f"table [{ opts_str } ] {{" )
271
273
else :
272
- content .append ("table {% \n " )
274
+ content .append ("table {" )
273
275
274
276
plot_table = []
275
277
table_row_sep = data ["table_row_sep" ]
@@ -290,6 +292,7 @@ def _table(obj, data): # noqa: C901
290
292
f .write ("" .join (plot_table ))
291
293
content .append (str (rel_filepath ))
292
294
else :
295
+ content .append ("%\n " )
293
296
content .extend (plot_table )
294
297
295
298
content .append ("};\n " )
You can’t perform that action at this time.
0 commit comments