Skip to content

Commit

Permalink
Merge pull request #39 from IndicoDataSolutions/ben/fix_visualizer
Browse files Browse the repository at this point in the history
FIX: visualizer array error with one dataset
  • Loading branch information
lhz1029 committed Apr 8, 2019
2 parents edc6d33 + 69d39ed commit b983a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enso/visualize/facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def visualize(
n_x_tiles = len(x_tiles)
# we adjust the figsize based on how many plots will be plotted
# we maintain a 6:8 ratio of height to width for uniformity
fig, axes = plt.subplots(n_y_tiles, n_x_tiles, figsize=(n_x_tiles * 8, n_y_tiles * 6))
fig, axes = plt.subplots(n_y_tiles, n_x_tiles, figsize=(n_x_tiles * 8, n_y_tiles * 6), squeeze=False)
for i, row in enumerate(y_tiles):
for j, col in enumerate(x_tiles):
ax = axes[i][j]
Expand Down

0 comments on commit b983a64

Please sign in to comment.