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

Skip to content

Commit a6f3635

Browse files
committed
chore: fix style
1 parent 1ee7bc0 commit a6f3635

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/matplotlib/cbook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2381,6 +2381,7 @@ def _is_jax_array(x):
23812381
# may have arbitrary user code, so we deliberately catch all exceptions
23822382
return False
23832383

2384+
23842385
def _is_tensorflow_array(x):
23852386
"""Check if 'x' is a TensorFlow Tensor or Variable."""
23862387
try:

lib/matplotlib/tests/test_cbook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ def __array__(self):
996996
# is the same Python object, just the same values.
997997
assert_array_equal(result, data)
998998

999+
9991000
def test_unpack_to_numpy_from_tensorflow():
10001001
"""
10011002
Test that tensorflow arrays are converted to NumPy arrays.

0 commit comments

Comments
 (0)