Skip to content

Commit 6fccbec

Browse files
committed
Update docs, remove outdated references
1 parent 8a6eff2 commit 6fccbec

File tree

8 files changed

+15
-17
lines changed

8 files changed

+15
-17
lines changed

docs/1dplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# format_version: '1.3'
88
# jupytext_version: 1.4.2
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python [conda env:proplot-dev]
1111
# language: python
12-
# name: python3
12+
# name: conda-env-proplot-dev-py
1313
# ---
1414

1515
# %% [raw] raw_mimetype="text/restructuredtext"

docs/2dplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# format_version: '1.3'
88
# jupytext_version: 1.4.2
99
# kernelspec:
10-
# display_name: Python 3 (ipykernel)
10+
# display_name: Python [conda env:proplot-dev]
1111
# language: python
12-
# name: python3
12+
# name: conda-env-proplot-dev-py
1313
# ---
1414

1515
# %% [raw] raw_mimetype="text/restructuredtext"

docs/basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@
191191
import proplot as pplt
192192
state = np.random.RandomState(51423)
193193
data = 2 * (state.rand(100, 5) - 0.5).cumsum(axis=0)
194-
fig = pplt.figure(span=False, refwidth=2)
195194
gs = pplt.GridSpec(nrows=2, ncols=2, pad=1)
195+
fig = pplt.figure(span=False, refwidth=2)
196196
ax = fig.subplot(gs[:, 0])
197197
ax.plot(data, lw=2)
198198
ax = fig.subplot(gs[0, 1])

docs/cartesian.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# format_version: '1.3'
99
# jupytext_version: 1.4.2
1010
# kernelspec:
11-
# display_name: proplot-dev
11+
# display_name: Python [conda env:proplot-dev]
1212
# language: python
13-
# name: proplot-dev
13+
# name: conda-env-proplot-dev-py
1414
# ---
1515

1616
# %% [raw] raw_mimetype="text/restructuredtext"

docs/colorbars_legends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# format_version: '1.3'
88
# jupytext_version: 1.4.2
99
# kernelspec:
10-
# display_name: Python [conda env:root] *
10+
# display_name: Python [conda env:proplot-dev]
1111
# language: python
12-
# name: conda-root-py
12+
# name: conda-env-proplot-dev-py
1313
# ---
1414

1515
# %% [raw] raw_mimetype="text/restructuredtext"

docs/insets_panels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# format_version: '1.3'
88
# jupytext_version: 1.4.2
99
# kernelspec:
10-
# display_name: Python [conda env:root] *
10+
# display_name: Python [conda env:proplot-dev]
1111
# language: python
12-
# name: conda-root-py
12+
# name: conda-env-proplot-dev-py
1313
# ---
1414

1515
# %% [raw] raw_mimetype="text/restructuredtext"

proplot/colors.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,6 @@ def __init__(
23202320
23212321
See also
23222322
--------
2323-
proplot.axes.apply_cmap
23242323
proplot.constructor.Norm
23252324
"""
23262325
# Validate input arguments
@@ -2569,7 +2568,6 @@ def __init__(
25692568
25702569
See also
25712570
--------
2572-
proplot.axes.apply_cmap
25732571
proplot.constructor.Norm
25742572
"""
25752573
# NOTE: This post is an excellent summary of matplotlib's DivergingNorm history:

proplot/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def arange(min_, *args):
109109
--------
110110
proplot.axes.CartesianAxes.format
111111
proplot.constructor.Locator
112-
proplot.axes.apply_cmap
113112
"""
114113
# Optional arguments just like np.arange
115114
if len(args) == 0:
@@ -162,8 +161,8 @@ def edges(z, axis=-1):
162161
See also
163162
--------
164163
edges2d
165-
proplot.axes.standardize_2d
166-
proplot.axes.apply_cmap
164+
proplot.axes.PlotAxes.pcolor
165+
proplot.axes.PlotAxes.pcolormesh
167166
"""
168167
z = np.asarray(z)
169168
z = np.swapaxes(z, axis, -1)
@@ -200,7 +199,8 @@ def edges2d(z):
200199
See also
201200
--------
202201
edges
203-
proplot.axes.standardize_2d
202+
proplot.axes.PlotAxes.pcolor
203+
proplot.axes.PlotAxes.pcolormesh
204204
"""
205205
z = np.asarray(z)
206206
if z.ndim != 2:

0 commit comments

Comments
 (0)