Skip to content
Snippets Groups Projects
Commit 05490f62 authored by Julius's avatar Julius
Browse files

again on right plot_surface call

parent ca2cf96f
Branches
Tags
1 merge request!36Resolve "Automatic Property Testing"
Pipeline #1604433 failed
......@@ -40,10 +40,10 @@ def test_surface_properties(
_, serializer_ax = serializer.subplots(subplot_kw={"projection": "3d"})
_fig, ax = plt.subplots(subplot_kw={"projection": "3d"})
try:
ax.plot_surface(x, y, z)
ax.plot_surface(x, y, z) # type: ignore
except Exception as _e:
plt.close()
else:
serializer_ax.plot_surface(x, y, z) # type: ignore
serializer_ax.plot_surface(x, y, z)
assert serializer.to_json() != "{}", "Serialized JSON is empty check input"
plt.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment