-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: reduce image size in episodes #144
base: gh-pages
Are you sure you want to change the base?
fix: reduce image size in episodes #144
Conversation
@@ -38,8 +38,7 @@ plt.show() # Show the figure | |||
|
|||
This code produces the following figure: | |||
|
|||
<!-- ![basic_plot](https://matplotlib.org/stable/_images/sphx_glr_usage_002.png) --> | |||
![basic_plot](https://matplotlib.org/3.5.1/_images/sphx_glr_usage_001_2_0x.png) | |||
![basic_plot](https://matplotlib.org/3.5.1/_images/sphx_glr_usage_001_2_0x.png){:width="50%"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, I'd imagine something like max-width
would work better here. Else it will be very small when viewing the page in split-screen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know what would be the syntax for max-width
that would work here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I wonder. Maybe the {:width}
thing is arbitrary html attribute injection though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does {:max-width=xxxpx}
work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure we can inject classes, so worst case would be to define a CSS class and then assign that
Thanks a lot for working on this :) |
Fixes #60