Skip to content

Commit

Permalink
NO GOOD: allow tuple in another place
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Dec 25, 2024
1 parent 0b8d566 commit c6337b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mathics/eval/drawing/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ def eval_ListPlot(
):
pass
elif not is_discrete_plot and all(
not isinstance(point, list) for line in plot_groups for point in line
not isinstance(point, (list, tuple))
for line in plot_groups
for point in line
):
# FIXME: is this right?
y_min = min(plot_groups)[0]
Expand Down

0 comments on commit c6337b7

Please sign in to comment.