File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -273,10 +273,15 @@ def _table(obj, data): # noqa: C901
273
273
if "unbounded coords=jump" not in data ["current axes" ].axis_options :
274
274
data ["current axes" ].axis_options .append ("unbounded coords=jump" )
275
275
276
- plot_table = [
277
- f"{ x :{xformat }} { col_sep } { y :{ff }} { table_row_sep } " for x , y in zip (
278
- xdata [::data ["every n dot" ]], ydata [::data ["every n dot" ]])
279
- ]
276
+ if len (xdata ) > data ["every n dot" ]:
277
+ plot_table = [
278
+ f"{ x :{xformat }} { col_sep } { y :{ff }} { table_row_sep } " for x , y in zip (
279
+ xdata [::data ["every n dot" ]],
280
+ ydata [::data ["every n dot" ]])]
281
+ else :
282
+ plot_table = [
283
+ f"{ x :{xformat }} { col_sep } { y :{ff }} { table_row_sep } " for x , y in zip (xdata , ydata )]
284
+
280
285
281
286
min_extern_length = 3
282
287
You can’t perform that action at this time.
0 commit comments