Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4ad0772

Browse filesBrowse files
committed
MNT: cleanup
1 parent 3c2e900 commit 4ad0772
Copy full SHA for 4ad0772

File tree

3 files changed

+2
-2
lines changed
Filter options

3 files changed

+2
-2
lines changed

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090

9191
# ---------------------------------------------------------------------------- #
9292

93+
9394
def is_none(*args):
9495
for a in args:
9596
yield a is None

‎lib/mpl_toolkits/mplot3d/axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/axes3d.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3047,7 +3047,7 @@ def hexbar3d(self, x, y, z, dxy='0.8', z0=0, **kwargs):
30473047

30483048
# compute axes limits
30493049
dx = bars.dx / 2
3050-
dy = bars.dy / 2 #/ np.sqrt(3)
3050+
dy = bars.dy / 2
30513051
viewlim = np.array([(np.min(x) - dx, np.max(x) + dx),
30523052
(np.min(y) - dy, np.max(y) + dy),
30533053
(min(bars.z0, np.min(z)), np.max(z))])

‎lib/mpl_toolkits/mplot3d/tests/test_axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/tests/test_axes3d.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from matplotlib.text import Text
2222

2323
import matplotlib.pyplot as plt
24-
import numpy as np
2524

2625

2726
mpl3d_image_comparison = functools.partial(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.