Skip to content

Commit

Permalink
Adds whitespace to increase readability.
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur committed Jun 19, 2016
1 parent f8ac8f6 commit 05aecc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/specialty_plots/hinton_demo.py
Expand Up @@ -17,7 +17,7 @@ def hinton(matrix, max_weight=None, ax=None):
ax = ax if ax is not None else plt.gca()

if not max_weight:
max_weight = 2**np.ceil(np.log(np.abs(matrix).max())/np.log(2))
max_weight = 2 ** np.ceil(np.log(np.abs(matrix).max()) / np.log(2))

ax.patch.set_facecolor('gray')
ax.set_aspect('equal', 'box')
Expand Down

0 comments on commit 05aecc8

Please sign in to comment.