Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89690ab

Browse files
authored
Merge branch 'main' into genfrac-style
2 parents8e6c885 +00cdf28 commit89690ab

File tree

132 files changed

+5513
-2601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+5513
-2601
lines changed

‎.github/workflows/cibuildwheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
fetch-depth:0
5454

55-
-uses:actions/setup-python@v3
55+
-uses:actions/setup-python@v4
5656
name:Install Python
5757
with:
5858
python-version:'3.8'

‎.github/workflows/nightlies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
-name:Install Python
18-
uses:actions/setup-python@v3
18+
uses:actions/setup-python@v4
1919
with:
2020
python-version:'3.x'
2121

‎.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
-uses:actions/checkout@v3
1010

1111
-name:Set up Python 3
12-
uses:actions/setup-python@v3
12+
uses:actions/setup-python@v4
1313
with:
1414
python-version:3.8
1515

‎.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
fetch-depth:0
6262

6363
-name:Set up Python ${{ matrix.python-version }}
64-
uses:actions/setup-python@v3
64+
uses:actions/setup-python@v4
6565
with:
6666
python-version:${{ matrix.python-version }}
6767

‎.matplotlib-repo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The existence of this file signals that the code is a matplotlib source repo
2+
and not an installed version. We use this in __init__.py for gating version
3+
detection.

‎doc/_static/mpl.css

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:root {
2+
--sd-color-primary:#11557C;
3+
--sd-color-primary-highlight:#003c63;
4+
}
5+
16
a {
27
color:#11557C;
38
text-decoration: none;
@@ -174,29 +179,6 @@ hr.box-sep {
174179
font-size:1.0em;
175180
}
176181

177-
178-
.mpl-button {
179-
background:#11557C;
180-
font-weight: normal;
181-
display: inline-block;
182-
padding:01em;
183-
line-height:2.8;
184-
font-size:16px;
185-
text-align: center;
186-
cursor: pointer;
187-
color:#fff;
188-
text-decoration: none;
189-
border-radius:6px;
190-
z-index:1;
191-
transition: background.25s ease;
192-
}
193-
194-
.mpl-button:hover, .mpl-button:active, .mpl-button:focus {
195-
background:#003c63;
196-
outline-color:#003c63;
197-
}
198-
199-
200182
/* Hide red ¶ between the thumbnail and caption in gallery
201183
202184
Due the way that sphinx-gallery floats its captions the perma-link
@@ -251,25 +233,6 @@ table.property-table td {
251233
margin:2.75rem0;
252234
}
253235

254-
.sidebar-donate .mpl-button {
255-
/* fix width to width of cheatsheet */
256-
width:210px;
257-
}
258-
259-
/* Two columns for install code blocks */
260-
div.twocol {
261-
padding-left:0;
262-
padding-right:0;
263-
display: flex;
264-
gap:20px;
265-
}
266-
267-
div.twocol>div {
268-
flex-grow:1;
269-
padding:0;
270-
margin:0;
271-
}
272-
273236
/* Fix selection of parameter names; remove when fixed in the theme
274237
* https://github.com/sphinx-doc/sphinx/pull/9763
275238
*/

‎doc/_static/switcher.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
[
22
{
33
"name":"3.5 (stable)",
4-
"version":"stable"
4+
"version":"stable",
5+
"url":"https://matplotlib.org/stable"
56
},
67
{
78
"name":"3.6 (dev)",
8-
"version":"devdocs"
9+
"version":"devdocs",
10+
"url":"https://matplotlib.org/devdocs"
911
},
1012
{
1113
"name":"3.4",
12-
"version":"3.4.3"
14+
"version":"3.4.3",
15+
"url":"https://matplotlib.org/3.4.3"
1316
},
1417
{
1518
"name":"3.3",
16-
"version":"3.3.4"
19+
"version":"3.3.4",
20+
"url":"https://matplotlib.org/3.3.4"
1721
},
1822
{
1923
"name":"2.2",
20-
"version":"2.2.4"
24+
"version":"2.2.4",
25+
"url":"https://matplotlib.org/2.2.4"
2126
}
2227
]

‎doc/_templates/donate_sidebar.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
2-
3-
41
<divclass="sidebar-donate">
5-
<ahref="https://numfocus.org/donate-to-matplotlib"target="_blank">
6-
<spanclass="mpl-button">Support Matplotlib</span>
2+
<aclass="sd-btn sd-btn-primary sd-fs-5 sd-px-5 sd-py-2"href="https://numfocus.org/donate-to-matplotlib"target="_blank">
3+
Support Matplotlib
74
</a>
85
</div>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
No need to specify renderer for get_tightbbox and get_window_extent
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The ``get_tightbbox`` and `~.Artist.get_window_extent` methods
5+
no longer require the *renderer* kwarg, saving users from having to
6+
querry it from ``fig.canvas.get_renderer``. If the *renderer*
7+
kwarg is not supplied these methods first check if there is a cached renderer
8+
from a previous draw and use that. If there is no cahched renderer, then
9+
the methods will use ``fig.canvas.get_renderer()`` as a fallback.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
``get_ticklabels`` now always populates labels
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
Previously `.Axis.get_ticklabels` (and `.Axes.get_xticklabels`,
4+
`.Axes.get_yticklabels`) would only return empty strings unless a draw had
5+
already been performed. Now the ticks and their labels are updated when the
6+
labels are requested.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Default date limits changed to 1970-01-01 to 1970-01-02
2+
-------------------------------------------------------
3+
4+
Previously the default limits for an empty axis set up for dates
5+
(`.Axis.axis_date`) was 2000-01-01 to 2010-01-01. This has been
6+
changed to 1970-01-01 to 1970-01-02. With the default epoch, this
7+
makes the numeric limit for date axes the same as for other axes
8+
(0.0-1.0), and users are less likely to set a locator with far too
9+
many ticks.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Modifications to the Groupers returned by ``get_shared_x_axes`` and ``get_shared_y_axes``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... are deprecated. In the future, these methods will return immutable views
4+
on the grouper structures. Note that previously, calling e.g. ``join()``
5+
would already fail to set up the correct structures for sharing axes; use
6+
`.Axes.sharex` or `.Axes.sharey` instead.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The *math* parameter of ``mathtext.get_unicode_index``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
In math mode, ASCII hyphens (U+002D) are now replaced by unicode minus signs
5+
(U+2212) at the parsing stage.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
``checkdep_usetex`` deprecated
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
This method was only intended to disable tests in case no latex install was
5+
found. As such, it is considered to be private and for internal use only.
6+
7+
Please vendor the code if you need this.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
``Legend`` constructor
2+
~~~~~~~~~~~~~~~~~~~~~~
3+
4+
All arguments to `.legend.Legend` other than *parent*, *handles*, and *labels*
5+
will become keyword-only in a future version.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Unused methods in ``Axis``, ``Tick``, ``XAxis``, and ``YAxis``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The following methods are no longer used and deprecated without a replacement::
5+
6+
- ``Axis.get_ticklabel_extents``
7+
- ``Tick.get_pad_pixels``
8+
- ``XAxis.get_text_heights``
9+
- ``YAxis.get_text_widths``
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Keyword arguments to ``gca()`` have been removed
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
There is no replacement.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``BoxStyle._Base`` and ``transmute`` method of boxstyles
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... have been removed. Boxstyles implemented as classes no longer need to
4+
inherit from a base class.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp