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

Skip to content

Commit a55a4ea

Browse files
committed
Fix missing uses of deprecated functions
1 parent 4bc0e4a commit a55a4ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ def format_coord(self, xd, yd):
11691169

11701170
# nearest edge
11711171
p0, p1 = min(self.tunit_edges(),
1172-
key=lambda edge: proj3d.line2d_seg_dist(
1172+
key=lambda edge: proj3d._line2d_seg_dist(
11731173
edge[0], edge[1], (xd, yd)))
11741174

11751175
# scale the z value to match
@@ -2028,8 +2028,8 @@ def _3d_extend_contour(self, cset, stride=5):
20282028
paths = linec.get_paths()
20292029
if not paths:
20302030
continue
2031-
topverts = art3d.paths_to_3d_segments(paths, z - dz)
2032-
botverts = art3d.paths_to_3d_segments(paths, z + dz)
2031+
topverts = art3d._paths_to_3d_segments(paths, z - dz)
2032+
botverts = art3d._paths_to_3d_segments(paths, z + dz)
20332033

20342034
color = linec.get_color()[0]
20352035

0 commit comments

Comments
 (0)