From f82bfd2a08a51c4815a4cde64974f819ed4f7128 Mon Sep 17 00:00:00 2001 From: robot-contrib Date: Sat, 9 Dec 2023 08:28:54 +0300 Subject: Update contrib/python/matplotlib/py3 to 3.8.2 --- contrib/python/matplotlib/py3/mpl_toolkits/mplot3d/axes3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/python/matplotlib/py3/mpl_toolkits/mplot3d') diff --git a/contrib/python/matplotlib/py3/mpl_toolkits/mplot3d/axes3d.py b/contrib/python/matplotlib/py3/mpl_toolkits/mplot3d/axes3d.py index aeb6a66d2c9..a74c11f54e6 100644 --- a/contrib/python/matplotlib/py3/mpl_toolkits/mplot3d/axes3d.py +++ b/contrib/python/matplotlib/py3/mpl_toolkits/mplot3d/axes3d.py @@ -2374,7 +2374,7 @@ class Axes3D(Axes): xs, ys, zs, s, c, color = cbook.delete_masked_points( xs, ys, zs, s, c, kwargs.get('color', None) ) - if kwargs.get('color', None): + if kwargs.get("color") is not None: kwargs['color'] = color # For xs and ys, 2D scatter() will do the copying. -- cgit v1.3