MCPcopy
hub / github.com/tum-pbs/PhiFlow / plot_surface

Function plot_surface

phi/vis/_matplotlib/_matplotlib_plots.py:930–936  ·  view source on GitHub ↗
(axes, *args, **kwargs)

Source from the content-addressed store, hash-verified

928
929
930def plot_surface(axes, *args, **kwargs):
931 if hasattr(axes, '_phi_z_order_index'):
932 idx = axes._phi_z_order_index
933 axes.plot_surface(*args, zorder=.1 + idx * 1e-3, **kwargs)
934 axes._phi_z_order_index += 1
935 else:
936 axes.plot_surface(*args, **kwargs)
937
938
939def has_legend_like(labels, figure):

Callers 3

plotMethod · 0.85
plotMethod · 0.85
plotMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected