Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/interpolations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
subplot_kw={'xticks': [], 'yticks': []})
for ax, interp_method in zip(axs.flat, methods):
ax.imshow(Z, interpolation=interp_method, cmap='viridis',
extent=[0,9,0,9])
extent=[0,9,0,9], rasterized=True)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jklymak. Is this what you were suggesting?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. Did it work? After suggesting it, I wasn't sure if imshow rasterized, but I'm pretty sure it does.

ax.text(4.5, 1, str(interp_method), weight="bold", color="white", size=12,
transform=ax.transData, ha="center", va="center")

Expand Down