Skip to content

Commit c20ed1d

Browse files
committed
Update napoleon type aliases and specifiers
1 parent 7b688fc commit c20ed1d

30 files changed

+136
-134
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ python:
1313
before_install:
1414
- |
1515
MODIFIED_FILES=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" 2>/dev/null)
16-
if [ $? -eq 0 ]; then
17-
if ! echo "$MODIFIED_FILES" | grep -qvE '(.md)|(.rst)|(.html)'
16+
if [ $? -eq 0 ] && ! echo "$MODIFIED_FILES" | grep -qvE '(.md)|(.rst)|(.html)'
1817
then
19-
echo "Only doc files were updated, not running the CI."
20-
exit
21-
fi
18+
echo "Only doc files were updated, not running the CI."
19+
exit
2220
fi
2321
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
2422
- bash miniconda.sh -b -p $HOME/miniconda

WHATSNEW.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ Bug fixes
12441244

12451245
* Fix issue where `~proplot.styletools.show_cmaps` and `~proplot.styletools.show_cycles`
12461246
draw empty axes (:pr:`100`).
1247-
* Add back the :ref:`default .proplorc file <The .proplotrc file>` to docs (:pr:`101`).
1247+
* Add back the default .proplorc file section to docs (:pr:`101`).
12481248
To do this, ``conf.py`` auto-generates a file in ``_static``.
12491249

12501250
Internals

docs/1dplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.4.2
8+
# jupytext_version: 1.11.4
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python 3
1111
# language: python
1212
# name: python3
1313
# ---

docs/2dplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.4.2
8+
# jupytext_version: 1.11.4
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python 3
1111
# language: python
1212
# name: python3
1313
# ---

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Figure class
2020

2121
.. automodsumm:: proplot.figure
2222
:toctree: api
23-
:skip: SubplotsContainer
2423

2524

2625
Gridspec class
@@ -30,6 +29,7 @@ Gridspec class
3029

3130
.. automodsumm:: proplot.gridspec
3231
:toctree: api
32+
:skip: SubplotsContainer
3333

3434

3535
Axes classes

docs/basics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.4.2
8+
# jupytext_version: 1.11.4
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python 3
1111
# language: python
1212
# name: python3
1313
# ---

docs/cartesian.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# extension: .py
77
# format_name: percent
88
# format_version: '1.3'
9-
# jupytext_version: 1.4.2
9+
# jupytext_version: 1.11.4
1010
# kernelspec:
11-
# display_name: Python 3 (ipykernel)
11+
# display_name: Python 3
1212
# language: python
1313
# name: python3
1414
# ---
@@ -245,6 +245,8 @@
245245
pplt.rc.reset()
246246

247247
# %% [raw] raw_mimetype="text/restructuredtext"
248+
# .. _pandas: https://pandas.pydata.org
249+
#
248250
# .. _ug_datetime:
249251
#
250252
# Datetime axes

docs/colorbars_legends.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.4.2
8+
# jupytext_version: 1.11.4
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python 3
1111
# language: python
1212
# name: python3
1313
# ---
@@ -203,7 +203,7 @@
203203
# them from the `~matplotlib.artist.Artist` labels (non-numeric labels will be
204204
# applied to the colorbar as tick labels). This feature is useful for labeling
205205
# discrete plot elements that bear some numeric relationship to each other.
206-
206+
#
207207
# Similar to `proplot.axes.CartesianAxes.format`, you can flexibly specify
208208
# major tick locations, minor tick locations, and major tick labels using the
209209
# `locator`, `minorlocator`, `formatter`, `ticks`, `minorticks`, and `ticklabels`
@@ -283,7 +283,7 @@
283283
# If you pass legend artists that are grouped into tuples (see this `matplotlib guide
284284
# <https://matplotlib.org/stable/tutorials/intermediate/legend_guide.html#legend-handlers>`__),
285285
# the default label will be inferred from the artists in the tuple.
286-
286+
#
287287
# You can also draw legends with centered rows by passing ``center=True`` or by passing
288288
# a list of lists of plot handles to ``legend``. This is accomplished by stacking
289289
# multiple single-row, horizontally centered legends, then adding an encompassing

docs/colormaps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# extension: .py
77
# format_name: percent
88
# format_version: '1.3'
9-
# jupytext_version: 1.4.2
9+
# jupytext_version: 1.11.4
1010
# kernelspec:
11-
# display_name: Python 3 (ipykernel)
11+
# display_name: Python 3
1212
# language: python
1313
# name: python3
1414
# ---
@@ -39,7 +39,7 @@
3939
# :ref:`subclassed from <ug_cmaps_new>`
4040
# `matplotlib.colors.LinearSegmentedColormap`.
4141
#
42-
# ProPlot :ref:`adds several features <why_colormaps_cyles>` to help you use
42+
# ProPlot :ref:`adds several features <why_colormaps_cycles>` to help you use
4343
# colormaps effectively in your figures. This section documents the new registered
4444
# colormaps, explains how to make and modify colormaps, and shows how to apply them
4545
# to your plots.

docs/colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# extension: .py
77
# format_name: percent
88
# format_version: '1.3'
9-
# jupytext_version: 1.4.2
9+
# jupytext_version: 1.11.4
1010
# kernelspec:
11-
# display_name: Python 3 (ipykernel)
11+
# display_name: Python 3
1212
# language: python
1313
# name: python3
1414
# ---

0 commit comments

Comments
 (0)