From 3256bc40bf30c663c3b60f2a74af72c49db69ff1 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Thu, 27 Oct 2022 11:56:58 -0500 Subject: [PATCH] Remove comment about cmap from voxels docstring voxels does not use cmap at all, and thus does not modify shade in relation to cmap being passed in, this appears to be copy/pasted from methods which _do_ use cmap --- lib/mpl_toolkits/mplot3d/axes3d.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mpl_toolkits/mplot3d/axes3d.py b/lib/mpl_toolkits/mplot3d/axes3d.py index 52cfc6e7e94b..23b3571a4a38 100644 --- a/lib/mpl_toolkits/mplot3d/axes3d.py +++ b/lib/mpl_toolkits/mplot3d/axes3d.py @@ -2801,8 +2801,7 @@ def voxels(self, *args, facecolors=None, edgecolors=None, shade=True, last axis. shade : bool, default: True - Whether to shade the facecolors. Shading is always disabled when - *cmap* is specified. + Whether to shade the facecolors. lightsource : `~matplotlib.colors.LightSource` The lightsource to use when *shade* is True.