Skip to content

Commit 77ad3ef

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.x'
2 parents 8a15a19 + 8e57552 commit 77ad3ef

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

INSTALL

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,11 @@ matplotlib with a user interface toolkit. See
233233
:ref:`what-is-a-backend` for more details on the optional matplotlib
234234
backends and the capabilities they provide.
235235

236-
:term:`tk` 8.3 or later
237-
The TCL/Tk widgets library used by the TkAgg backend
236+
:term:`tk` 8.3 or later, not 8.6.0 or 8.6.1
237+
The TCL/Tk widgets library used by the TkAgg backend.
238+
239+
Versions 8.6.0 and 8.6.1 are known to have issues that may result
240+
in segfaults when closing multiple windows in the wrong order.
238241

239242
:term:`pyqt` 4.0 or later
240243
The Qt4 widgets library python wrappers for the Qt4Agg backend

doc/_static/numfocus_badge.png

13.3 KB
Loading

doc/_templates/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ <h1>Citing matplotlib</h1>
189189
</p>
190190

191191
<h1>Open source</h1>
192-
192+
<img src="_static/numfocus_badge.png" alt="A Fiscally Sponsored Project of NUMFocus"
193+
style="float:right; margin-left:20px" />
193194
<p>
194195
Please
195196
consider <a href="https://www.flipcause.com/widget/MjI1OA==">donating

examples/specialty_plots/advanced_hillshading.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def display_colorbar():
1616
rgb = ls.shade(z, cmap)
1717

1818
fig, ax = plt.subplots()
19-
ax.imshow(rgb)
19+
ax.imshow(rgb, interpolation='bilinear')
2020

2121
# Use a proxy artist for the colorbar...
2222
im = ax.imshow(z, cmap=cmap)
@@ -39,11 +39,11 @@ def avoid_outliers():
3939
fig, (ax1, ax2) = plt.subplots(ncols=2, figsize=(8, 4.5))
4040

4141
rgb = ls.shade(z, plt.cm.copper)
42-
ax1.imshow(rgb)
42+
ax1.imshow(rgb, interpolation='bilinear')
4343
ax1.set_title('Full range of data')
4444

4545
rgb = ls.shade(z, plt.cm.copper, vmin=-10, vmax=10)
46-
ax2.imshow(rgb)
46+
ax2.imshow(rgb, interpolation='bilinear')
4747
ax2.set_title('Manually set range')
4848

4949
fig.suptitle('Avoiding Outliers in Shaded Plots', size='x-large')
@@ -62,7 +62,7 @@ def shade_other_data():
6262
rgb = ls.shade_rgb(cmap(norm(z2)), z1)
6363

6464
fig, ax = plt.subplots()
65-
ax.imshow(rgb)
65+
ax.imshow(rgb, interpolation='bilinear')
6666
ax.set_title('Shade by one variable, color by another', size='x-large')
6767

6868
display_colorbar()

0 commit comments

Comments
 (0)