You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[lecture_comparison] Images need review for size on Jupyter Book #26
changed the title [-][lecture_comparison]_some_inserted_figures_are_oversized!!![/-][+][lecture_comparison] Images need review for size on Jupyter Book[/+]on Jan 6, 2021
Thanks @shlff agreed -- this will be an issue across the spectrum.
I have found the following settings to work pretty well and are located in the QuantEcon Style Guide -- Figure Sizes for matplotlib generated items.
Would you mind reviewing each lecture and submitting a PR with some suggested updates?
Thanks, @mmcky . This QE Operation Manual designs standards, which is very helpful for lectures development and exactly what I want to do before. Thank you!
However, I find the figure size settings mentioned by this guide is for code-generating plots only, but not for inserted figures. Do you think we should add some standards for inserted plots as well?
I'd love to review these lectures, experiment with different figure sizes and give my comments on them via PR.
but not for inserted figures. Do you think we should add some standards for inserted plots as well?
@shlff this is hard to do as the source image may vary in size. So this is largely down to authors to adjust accordingly. I would recommend using :scale: to fill ~0.5-0.7 width of the page in many circumstances
experiment with different figure sizes and give my comments on them via PR
Thanks. This experimentation will need to be done in the myst repository as it handles images differently to the jupinx approach to image scalling.
thanks @shlff you can proceed on a lecture by lecture basis with suggestions for new image sizes now. When you open a PR add [{{ lecture name}}] in the tile and add the tag manual-change so we don't merge it into main yet until rst is frozen.
Activity
mmcky commentedon Jan 6, 2021
Thanks @shlff agreed -- this will be an issue across the spectrum.
I have found the following settings to work pretty well and are located in the QuantEcon Style Guide -- Figure Sizes for matplotlib generated items.
Would you mind reviewing each lecture and submitting a PR with some suggested updates?
[-][lecture_comparison]_some_inserted_figures_are_oversized!!![/-][+][lecture_comparison] Images need review for size on Jupyter Book[/+]shlff commentedon Jan 6, 2021
Thanks, @mmcky . This QE Operation Manual designs standards, which is very helpful for lectures development and exactly what I want to do before. Thank you!
However, I find the figure size settings mentioned by this guide is for code-generating plots only, but not for inserted figures. Do you think we should add some standards for inserted plots as well?
I'd love to review these lectures, experiment with different figure sizes and give my comments on them via PR.
mmcky commentedon Jan 7, 2021
@shlff this is hard to do as the source image may vary in size. So this is largely down to
authorsto adjust accordingly. I would recommend using:scale:to fill ~0.5-0.7 width of the page in many circumstancesThanks. This experimentation will need to be done in the
mystrepository as it handles images differently to thejupinxapproach to image scalling.shlff commentedon Jan 11, 2021
Thanks @mmcky . I will create PR to fix this issue in the
mystrepo after you finish migrating lectures here.mmcky commentedon Jan 13, 2021
thanks @shlff you can proceed on a
lecturebylecturebasis with suggestions for new image sizes now. When you open a PR add[{{ lecture name}}]in the tile and add the tagmanual-changeso we don't merge it intomainyet untilrstis frozen.mmcky commentedon Apr 7, 2021
I think #108 addresses this issue