We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19e777 commit 5c3b86fCopy full SHA for 5c3b86f
Orange/widgets/utils/matplotlib_export.py
@@ -11,6 +11,10 @@
11
def numpy_repr(a):
12
""" A numpy repr without summarization """
13
opts = np.get_printoptions()
14
+ # avoid numpy repr as it changes between versions
15
+ # TODO handle numpy repr differences
16
+ if isinstance(a, np.ndarray):
17
+ return "array(" + repr(list(a)) + ")"
18
try:
19
np.set_printoptions(threshold=10**10)
20
return repr(a)
0 commit comments