Skip to content

Commit

Permalink
force favicon to be contiguuous in logo example
Browse files Browse the repository at this point in the history
  • Loading branch information
kip-hart committed Dec 25, 2020
1 parent ddadd25 commit d37f298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microstructpy/examples/logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def main(n_seeds, size_rng, pos_rng, k_lw):
fav_im = fav_im[inds]
fav_im = fav_im[:, inds]

plt.imsave(favicon_filename, fav_im, dpi=dpi, format='png')
plt.imsave(favicon_filename, np.ascontiguousarray(fav_im), dpi=dpi, format='png')

# Create the Social Banner
fig_social, ax_social = plt.subplots()
Expand Down

0 comments on commit d37f298

Please sign in to comment.