Skip to content

Commit

Permalink
Prepare for v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nghia-vo committed Apr 30, 2024
1 parent a3d23cd commit da08fc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions broh5/lib/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ def format_table_from_array(data):
if len(data.shape) == 1:
data = np.expand_dims(np.asarray(data), 1)
(height, width) = data.shape[:2]
if width > height:
data = np.transpose(data)
(height, width) = data.shape[:2]
if height > 1000 and width > 1000:
rows, columns = None, None
else:
Expand Down

0 comments on commit da08fc2

Please sign in to comment.