8000 Merge branch 'matplotlib:main' into issue29541 · matplotlib/matplotlib@7ec2b1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ec2b1e

Browse files
Merge branch 'matplotlib:main' into issue29541
2 parents 67f55f2 + ba90bce commit 7ec2b1e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/users/next_whats_new/depthshading_improvement.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ A simple example:
3030
S = [(i + 1) * 400 for i in range(10)]
3131

3232
ax.scatter(
33-
xs=X,
34-
ys=Y,
35-
zs=Z,
36-
s=S,
33+
xs=X, ys=Y, zs=Z, s=S,
3734
depthshade=True,
3835
depthshade_minalpha=0.3,
3936
)
37+
ax.view_init(elev=10, azim=-150, roll=0)
4038

4139
plt.show()

lib/matplotlib/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ def impl(args, regex, min_ver=None, ignore_exit_code=False):
474474
"Failed to find an ImageMagick installation")
475475
else:
476476
path = "convert"
477-
info = impl([path, "--version"], r"^Version: ImageMagick (\S*)")
477+
# Ignore deprecation warning for "convert" on IM>=7.1.1-33.
478+
info = impl([path, "--version"], r"(?sm:.*^)Version: ImageMagick (\S*)")
478479
if info.raw_version == "7.0.10-34":
479480
# https://github.com/ImageMagick/ImageMagick/issues/2720
480481
raise ExecutableNotFoundError(

0 commit comments

Comments
 (0)
0