Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
50cad2a
Backport PR #29584: DOC: Recommend constrained_layout over tight_layout
timhoffm Feb 28, 2025
c38e0f7
Merge pull request #29691 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Feb 28, 2025
1bdc36a
Backport PR #29689: Fix alt and caption handling in Sphinx directives
timhoffm Feb 28, 2025
bf64054
Backport PR #29590: Blocked set_clim() callbacks to prevent inconsist…
prafulgulani Feb 28, 2025
365dd59
Merge pull request #29693 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Feb 28, 2025
b6f6e27
Merge pull request #29692 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 1, 2025
7bbf261
Backport PR #29708: MNT: correct version in plotting method deprecati…
timhoffm Mar 6, 2025
a2ed2da
Merge pull request #29709 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Mar 6, 2025
6843f81
Backport PR #29726: Add reference tag to Hatch style reference
story645 Mar 10, 2025
f51d428
Merge pull request #29727 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Mar 10, 2025
f098eb2
Backport PR #29724: Fix SubplotSpec.get_gridspec type hint
timhoffm Mar 10, 2025
01d66d1
Merge pull request #29730 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Mar 10, 2025
6bc61bb
Backport PR #29719: Fix passing singleton sequence-type styles to hist
story645 Mar 12, 2025
519b3e5
Merge pull request #29735 from meeseeksmachine/auto-backport-of-pr-29…
story645 Mar 12, 2025
3ac78ff
Backport PR #29734: ci: MacOS 14: temporarily upper-bound the 'PyGObj…
timhoffm Mar 12, 2025
5d62811
Merge pull request #29737 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 13, 2025
d0ab468
Backport PR #29748: Fix PyGObject version pinning in macOS tests
tacaswell Mar 13, 2025
5090b26
Backport PR #29721: FIX: pyplot auto-backend detection case-sensitivi…
ianthomas23 Mar 14, 2025
f86947c
Backport PR #29767: Add description to logit_demo.py script
QianZhang19 Mar 18, 2025
90a5aa9
Merge pull request #29768 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 18, 2025
8946085
Backport PR #29752: DOC: Add install instructions for pixi and uv
timhoffm Mar 18, 2025
d4820f3
Merge pull request #29771 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 18, 2025
2ddb364
Backport PR #29781: Fix escaping of nulls and "0" in default filenames.
timhoffm Mar 20, 2025
2736c12
Merge pull request #29784 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 20, 2025
ac6495f
Backport PR #29755: DOC: Simplify annotation arrow style reference
timhoffm Mar 21, 2025
005677f
Merge pull request #29786 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Mar 21, 2025
ba55b7c
Backport PR #29770: MNT: Move test for old ipython behavior to minver…
dstansby Mar 21, 2025
a56911e
Merge pull request #29754 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 21, 2025
57878e9
Merge pull request #29750 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Mar 21, 2025
1e89088
Merge pull request #29792 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 21, 2025
64ff907
Backport PR #29552: Bug Fix: Normalize kwargs for Histogram
TheSkyentist Feb 14, 2025
f5d6737
Merge pull request #29814 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 27, 2025
0359016
Backport PR #29801: DOC: Slightly further improve arrowstyle demo
timhoffm Mar 27, 2025
30817f9
Merge pull request #29818 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Mar 28, 2025
5fde149
Backport PR #29839: Improve docs regarding plt.close().
timhoffm Apr 1, 2025
ba588a5
Merge pull request #29848 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 1, 2025
b29bd15
Backport PR #29842: Don't drag draggables on scroll events
timhoffm Apr 2, 2025
282ef47
Merge pull request #29858 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 2, 2025
00b4df2
Backport PR #29545: DOC: correctly specify return type of `figaspect`
QuLogic Apr 3, 2025
465d984
Merge pull request #29859 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 3, 2025
a499643
Backport PR #29773: DOC: Improve interactive figures guide / Blocking…
timhoffm Apr 3, 2025
2230a0e
Merge pull request #29861 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 3, 2025
479ed1e
Backport PR #29834: TST: pin flake8
jklymak Mar 30, 2025
4bf746b
Merge pull request #29868 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 5, 2025
d8654f5
Backport PR #29853: Update lib/matplotlib/stackplot.py
timhoffm Apr 7, 2025
6cab025
Merge pull request #29880 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 7, 2025
877ec29
Backport PR #29803: DOC: Improve FancyArrowPatch docstring
QuLogic Apr 9, 2025
6c394db
Merge pull request #29888 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 9, 2025
7470a81
Backport PR #29896: Change `.T` to `.transpose()` in `_reshape_2D`
story645 Apr 10, 2025
02c0548
Backport PR #29899: [doc] minimally document what basic units is doing
timhoffm Apr 10, 2025
fe0140e
Merge pull request #29900 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 10, 2025
34a11ab
Merge pull request #29902 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 11, 2025
25b9377
Backport PR #29897: BUG: ensure that errorbar does not error on maske…
QuLogic Apr 16, 2025
88bd99c
Backport PR #29929: Correct rightparen typo
oscargus Apr 16, 2025
2673b93
Merge pull request #29930 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 17, 2025
f72525a
Merge pull request #29927 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 17, 2025
54d6615
Backport PR #29920: Allow `None` in set_prop_cycle (in type hints)
timhoffm Apr 17, 2025
a595375
Merge pull request #29932 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 17, 2025
9a57241
Backport PR #29931: Allow Python native sequences in Matplotlib `imsa…
ksunden Apr 17, 2025
bdba952
Backport PR #29919: Handle MOVETO's, CLOSEPOLY's and empty paths in P…
timhoffm Apr 18, 2025
a1440fe
Fix broken links in interactive guide
dstansby Apr 18, 2025
6a6e8d8
Merge pull request #29940 from meeseeksmachine/auto-backport-of-pr-29…
oscargus Apr 18, 2025
09bea95
Merge pull request #29943 from dstansby/310-broken-links
tacaswell Apr 18, 2025
4cd3b06
STY: placate lint
tacaswell Apr 18, 2025
7dfb4e4
Merge pull request #29933 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 20, 2025
d1c20ea
Backport PR #29872: TST: Use placeholders for text in layout tests
timhoffm Apr 10, 2025
110b6af
Merge pull request #29901 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Apr 20, 2025
704c239
Backport PR #29796: ci: rotate soon-to-be-unsupported GitHub Actions …
timhoffm Apr 1, 2025
9a80304
Merge pull request #29949 from rcomer/auto-backport-of-pr-29796-on-v3…
QuLogic Apr 23, 2025
59a9774
Backport PR #29827: TST: Remove unnecessary test images
QuLogic Mar 29, 2025
a7f5ce6
Backport PR #29965: Document Axes.spines
jklymak Apr 25, 2025
8a1cea5
Merge pull request #29969 from meeseeksmachine/auto-backport-of-pr-29…
QuLogic Apr 26, 2025
0753e77
Backport PR #29970: TST: Make refcount tests more resilient to Python…
tacaswell Apr 28, 2025
4ee1e05
Backport PR #29979: Fix typos: horizonatal -> horizontal
rcomer Apr 28, 2025
9846a6f
Merge pull request #29980 from meeseeksmachine/auto-backport-of-pr-29…
timhoffm Apr 28, 2025
9e42559
Backport PR #29975: DOC: correct signature for animation update funct…
QuLogic Apr 28, 2025
950f2bc
Merge pull request #29974 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 28, 2025
495fb64
Merge pull request #29983 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 28, 2025
7dab28b
Backport PR #29370: DOC: Improve NonUniformImage docs
timhoffm Apr 29, 2025
2322a8f
Merge pull request #29987 from meeseeksmachine/auto-backport-of-pr-29…
rcomer Apr 29, 2025
2c0e150
Backport PR #29789: Improve layout of cheatsheets in sidebar
dstansby Apr 30, 2025
be0d1aa
Merge pull request #29990 from meeseeksmachine/auto-backport-of-pr-29…
dstansby Apr 30, 2025
f7b8d2d
Backport PR #29995: Fix typo: missing singlequote in unrecognized bac…
dstansby May 1, 2025
cd67b8e
Merge pull request #29996 from meeseeksmachine/auto-backport-of-pr-29…
rcomer May 1, 2025
05d104e
Backport PR #29997: BLD: Ensure meson.build has the right version of …
timhoffm May 2, 2025
a64d453
Merge pull request #29999 from QuLogic/auto-backport-of-pr-29997-on-v…
timhoffm May 2, 2025
95c87f2
Backport PR #29673: DOC: document the issues with overlaying new mpl …
ksunden May 2, 2025
9f40c83
Merge pull request #30002 from meeseeksmachine/auto-backport-of-pr-29…
rcomer May 2, 2025
0595366
Merge pull request #29867 from QuLogic/auto-backport-of-pr-29827-on-v…
ksunden May 2, 2025
0ef1165
Backport PR #29992 on v3.10.x: Update pinned oldest win image on azure
dstansby May 5, 2025
acb7361
Merge pull request #30010 from rcomer/auto-backport-of-pr-29992-on-v3…
dstansby May 5, 2025
3b50d5c
Backport PR #29907: Ensure text metric calculation always uses the te…
tacaswell Apr 13, 2025
0ef15b6
Merge pull request #30018 from meeseeksmachine/auto-backport-of-pr-29…
oscargus May 6, 2025
71e6946
REL prep 3.10.3
ksunden May 8, 2025
8b82729
REL: v3.10.3
ksunden May 8, 2025
e82b493
Bump from v3.10.3 tag
ksunden May 8, 2025
0b02f2d
Merge branch 'v3.10.x' into merge_up_3.10.3
ksunden May 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
self._request_autoscale_view("x")
return p

@_api.make_keyword_only("3.9", "label")
@_api.make_keyword_only("3.10", "label")
@_preprocess_data(replace_names=["y", "xmin", "xmax", "colors"],
label_namer="y")
def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
Expand Down Expand Up @@ -1187,7 +1187,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
self._request_autoscale_view()
return lines

@_api.make_keyword_only("3.9", "label")
@_api.make_keyword_only("3.10", "label")
@_preprocess_data(replace_names=["x", "ymin", "ymax", "colors"],
label_namer="x")
def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
Expand Down Expand Up @@ -1279,7 +1279,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
self._request_autoscale_view()
return lines

@_api.make_keyword_only("3.9", "orientation")
@_api.make_keyword_only("3.10", "orientation")
@_preprocess_data(replace_names=["positions", "lineoffsets",
"linelengths", "linewidths",
"colors", "linestyles"])
Expand Down Expand Up @@ -2086,7 +2086,7 @@ def acorr(self, x, **kwargs):
"""
return self.xcorr(x, x, **kwargs)

@_api.make_keyword_only("3.9", "normed")
@_api.make_keyword_only("3.10", "normed")
@_preprocess_data(replace_names=["x", "y"], label_namer="y")
def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
usevlines=True, maxlags=10, **kwargs):
Expand Down Expand Up @@ -3229,7 +3229,7 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
self.add_container(stem_container)
return stem_container

@_api.make_keyword_only("3.9", "explode")
@_api.make_keyword_only("3.10", "explode")
@_preprocess_data(replace_names=["x", "explode", "labels", "colors"])
def pie(self, x, explode=None, labels=None, colors=None,
autopct=None, pctdistance=0.6, shadow=False, labeldistance=1.1,
Expand Down Expand Up @@ -3509,7 +3509,7 @@ def _errorevery_to_mask(x, errorevery):
everymask[errorevery] = True
return everymask

@_api.make_keyword_only("3.9", "ecolor")
@_api.make_keyword_only("3.10", "ecolor")
@_preprocess_data(replace_names=["x", "y", "xerr", "yerr"],
label_namer="y")
@_docstring.interpd
Expand Down Expand Up @@ -3887,7 +3887,7 @@ def apply_mask(arrays, mask):

return errorbar_container # (l0, caplines, barcols)

@_api.make_keyword_only("3.9", "notch")
@_api.make_keyword_only("3.10", "notch")
@_preprocess_data()
@_api.rename_parameter("3.9", "labels", "tick_labels")
def boxplot(self, x, notch=None, sym=None, vert=None,
Expand Down Expand Up @@ -4236,7 +4236,7 @@ def boxplot(self, x, notch=None, sym=None, vert=None,
orientation=orientation)
return artists

@_api.make_keyword_only("3.9", "widths")
@_api.make_keyword_only("3.10", "widths")
def bxp(self, bxpstats, positions=None, widths=None, vert=None,
orientation='vertical', patch_artist=False, shownotches=False,
showmeans=False, showcaps=True, showbox=True, showfliers=True,
Expand Down Expand Up @@ -4773,7 +4773,7 @@ def invalid_shape_exception(csize, xsize):
colors = None # use cmap, norm after collection is created
return c, colors, edgecolors

@_api.make_keyword_only("3.9", "marker")
@_api.make_keyword_only("3.10", "marker")
@_preprocess_data(replace_names=["x", "y", "s", "linewidths",
"edgecolors", "c", "facecolor",
"facecolors", "color"],
Expand Down Expand Up @@ -5064,7 +5064,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,

return collection

@_api.make_keyword_only("3.9", "gridsize")
@_api.make_keyword_only("3.10", "gridsize")
@_preprocess_data(replace_names=["x", "y", "C"], label_namer="y")
@_docstring.interpd
def hexbin(self, x, y, C=None, gridsize=100, bins=None,
Expand Down Expand Up @@ -6814,7 +6814,7 @@ def clabel(self, CS, levels=None, **kwargs):

#### Data analysis

@_api.make_keyword_only("3.9", "range")
@_api.make_keyword_only("3.10", "range")
@_preprocess_data(replace_names=["x", 'weights'], label_namer="x")
def hist(self, x, bins=None, range=None, density=False, weights=None,
cumulative=False, bottom=None, histtype='bar', align='mid',
Expand Down Expand Up @@ -7405,7 +7405,7 @@ def stairs(self, values, edges=None, *,
self._request_autoscale_view()
return patch

@_api.make_keyword_only("3.9", "range")
@_api.make_keyword_only("3.10", "range")
@_preprocess_data(replace_names=["x", "y", "weights"])
@_docstring.interpd
def hist2d(self, x, y, bins=10, range=None, density=False, weights=None,
Expand Down Expand Up @@ -7617,7 +7617,7 @@ def ecdf(self, x, weights=None, *, complementary=False,
line.sticky_edges.x[:] = [0, 1]
return line

@_api.make_keyword_only("3.9", "NFFT")
@_api.make_keyword_only("3.10", "NFFT")
@_preprocess_data(replace_names=["x"])
@_docstring.interpd
def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
Expand Down Expand Up @@ -7729,7 +7729,7 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
else:
return pxx, freqs, line

@_api.make_keyword_only("3.9", "NFFT")
@_api.make_keyword_only("3.10", "NFFT")
@_preprocess_data(replace_names=["x", "y"], label_namer="y")
@_docstring.interpd
def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
Expand Down Expand Up @@ -7832,7 +7832,7 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
else:
return pxy, freqs, line

@_api.make_keyword_only("3.9", "Fs")
@_api.make_keyword_only("3.10", "Fs")
@_preprocess_data(replace_names=["x"])
@_docstring.interpd
def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
Expand Down Expand Up @@ -7919,7 +7919,7 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,

return spec, freqs, line

@_api.make_keyword_only("3.9", "Fs")
@_api.make_keyword_only("3.10", "Fs")
@_preprocess_data(replace_names=["x"])
@_docstring.interpd
def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
Expand Down Expand Up @@ -7989,7 +7989,7 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,

return spec, freqs, lines[0]

@_api.make_keyword_only("3.9", "Fs")
@_api.make_keyword_only("3.10", "Fs")
@_preprocess_data(replace_names=["x"])
@_docstring.interpd
def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
Expand Down Expand Up @@ -8059,7 +8059,7 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,

return spec, freqs, lines[0]

@_api.make_keyword_only("3.9", "NFFT")
@_api.make_keyword_only("3.10", "NFFT")
@_preprocess_data(replace_names=["x", "y"])
@_docstring.interpd
def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
Expand Down Expand Up @@ -8124,7 +8124,7 @@ def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,

return cxy, freqs

@_api.make_keyword_only("3.9", "NFFT")
@_api.make_keyword_only("3.10", "NFFT")
@_preprocess_data(replace_names=["x"])
@_docstring.interpd
def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
Expand Down Expand Up @@ -8286,7 +8286,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,

return spec, freqs, t, im

@_api.make_keyword_only("3.9", "precision")
@_api.make_keyword_only("3.10", "precision")
@_docstring.interpd
def spy(self, Z, precision=0, marker=None, markersize=None,
aspect='equal', origin="upper", **kwargs):
Expand Down Expand Up @@ -8477,7 +8477,7 @@ def matshow(self, Z, **kwargs):
mticker.MaxNLocator(nbins=9, steps=[1, 2, 5, 10], integer=True))
return im

@_api.make_keyword_only("3.9", "vert")
@_api.make_keyword_only("3.10", "vert")
@_preprocess_data(replace_names=["dataset"])
def violinplot(self, dataset, positions=None, vert=None,
orientation='vertical', widths=0.5, showmeans=False,
Expand Down Expand Up @@ -8603,7 +8603,7 @@ def _kde_method(X, coords):
showmeans=showmeans, showextrema=showextrema,
showmedians=showmedians, side=side)

@_api.make_keyword_only("3.9", "vert")
@_api.make_keyword_only("3.10", "vert")
def violin(self, vpstats, positions=None, vert=None,
orientation='vertical', widths=0.5, showmeans=False,
showextrema=True, showmedians=False, side='both'):
Expand Down