Skip to content
Snippets Groups Projects
Commit e6debe35 authored by Joseph Weston's avatar Joseph Weston
Browse files

add failing test for plotting 2D projection of a 3D system

parent 3ef0b9fc
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,9 @@ def test_plot():
warnings.simplefilter("ignore")
plot(syst2d.finalized(), file=out)
# test 2D projections of 3D systems
plot(syst3d, file=out, pos_transform=lambda pos: pos[:2])
def good_transform(pos):
x, y = pos
return y, x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment