tensorflow / lucid

A collection of infrastructure and tools for research in neural network interpretability.
Apache License 2.0
4.68k stars 655 forks source link

Update show() to fix Firefox rendering issue #279

Closed csvoss closed 3 years ago

csvoss commented 3 years ago

Sometimes Colab images rendered using show() are blurry when viewed in Firefox.

This commit fixes this by updating the CSS in show() so that it uses image-rendering: pixelated; image-rendering: crisp-edges; for fallback Firefox compatibility.