-
subplot()
matplotlib.pyplot.subplot(*args, **kwargs)
Add an
Axes
to the current figure or retrieve an existingAxes
.This is a wrapper of
Figure.add_subplot
which provides additional behavior when working with the implicit API. -
subplots()
matplotlib.pyplot.subplots(nrows=1, ncols=1, *, sharex=False, sharey=False, squeese=True, subplot_kw=None, gridspec_kw=None, **fig_kw)
Create a
figure
and a set ofsubplots
; -
References
理解subplot() vs. subplots() in matlabplot
最新推荐文章于 2025-06-18 10:13:17 发布