Skip to content

Commit 0e95fff

Browse files
committed
Avoid trig functions
1 parent f5321a5 commit 0e95fff

15 files changed

+13207
-28163
lines changed

test/builtin/drawing/test_plot_detail.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
("liststepplot", "ListStepPlot[{1,4,2,5,3}]"),
6969
# ("manipulate", "Manipulate[Plot[a x,{x,0,1}],{a,0,5}]"),
7070
("numberlineplot", "NumberLinePlot[{1,3,4}]"),
71-
("parametricplot", "ParametricPlot[{Cos[t],Sin[t]},{t,0,2 Pi}]"),
71+
("parametricplot", "ParametricPlot[{t,2 t},{t,0,2}]"),
7272
("piechart", "PieChart[{3,2,5}]"),
73-
("plot", "Plot[Sin[x], {x, 0, 2 Pi}]"),
74-
("polarplot", "PolarPlot[1+0.5 Cos[3 θ],{θ,0,2 Pi}]"),
73+
("plot", "Plot[x, {x, 0, 1}]"),
74+
("polarplot", "PolarPlot[3 θ,{θ,0,2}]"),
7575
]
7676

7777
# vectorized available, non-vectorized not available
@@ -84,8 +84,8 @@
8484

8585
# both vectorized and non-vectorized available
8686
both = [
87-
("densityplot", "DensityPlot[Sin[x y],{x,-2,2},{y,-2,2}]"),
88-
("plot3d", "Plot3D[Sin[x y],{x,-2,2},{y,-2,2}]"),
87+
("densityplot", "DensityPlot[x y,{x,-2,2},{y,-2,2}]"),
88+
("plot3d", "Plot3D[x y,{x,-2,2},{y,-2,2}]"),
8989
]
9090

9191
# common plotting options to test with and without
@@ -178,5 +178,5 @@ def run_tests():
178178
except AssertionError:
179179
print("FAIL")
180180

181-
# make_ref_files()
182-
run_tests()
181+
make_ref_files()
182+
#run_tests()

0 commit comments

Comments
 (0)