MCPcopy Create free account
hub / github.com/TRIQS/triqs / subplots

Function subplots

python/triqs/plot/mpl_interface.py:50–52  ·  view source on GitHub ↗
(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True, subplot_kw=None, **fig_kw)

Source from the content-addressed store, hash-verified

48 subplots = mpl.pyplot.subplots
49except:
50 def subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True, subplot_kw=None, **fig_kw):
51 print("subplots not supported")
52 return plt.figure(1), [plt.subplot(nrows, ncols, x + 1) for x in range(nrows * ncols)]
53
54def oplot(obj, *opt_list, axes=None, **opt_dict):
55 r"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected