Open mmcky opened 3 years ago
Yes we can, we can use a filter to invert the colours. Here are two examples from that page:
For self reference
filter: invert(100%) hue-rotate(-180deg) !important;
-ms-filter: invert(100%) !important;
-webkit-filter: invert(100%) hue-rotate(-180deg) !important;
thanks @DrDrij that looks like a big improvement
@DrDrij - just fyi - the preview on that commit doesn't seem to have taken effect for images
https://5f8437440d7ad18f9eee916c--hungry-lovelace-7d0512.netlify.app/matplotlib.html
Is there a way to control background for the transparent components of the generated images?
See first generated image in
https://quantecon.github.io/lecture-python-programming.myst/numba.html
with
dark mode
enabled.The axis data is a bit difficult to read.