Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66b7bd3

Browse files
committed
Remove expired project argument
1 parent bbe76a1 commit 66b7bd3

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Removal of ``renderer`` arguments in mplot3d
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1+
Removal of deprecated arguments in mplot3d
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
The deprecated ``renderer`` arguments have been removed from:
44

55
- `.Line3DCollection.do_3d_projection`
@@ -8,3 +8,6 @@ The deprecated ``renderer`` arguments have been removed from:
88
- `.Path3DCollection.do_3d_projection`
99
- `.Patch3DCollection.do_3d_projection`
1010
- `.Poly3DCollection.do_3d_projection`
11+
12+
The deprecated ``project`` argument has also been removed from
13+
``Line3DCollection.draw()``.

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,6 @@ def do_3d_projection(self):
312312
minz = min(minz, min(zs))
313313
return minz
314314

315-
@artist.allow_rasterization
316-
@_api.delete_parameter('3.4', 'project',
317-
alternative='Line3DCollection.do_3d_projection')
318-
def draw(self, renderer, project=False):
319-
if project:
320-
self.do_3d_projection()
321-
super().draw(renderer)
322-
323315

324316
def line_collection_2d_to_3d(col, zs=0, zdir='z'):
325317
"""Convert a LineCollection to a Line3DCollection object."""

0 commit comments

Comments
 (0)