Skip to content

[lecture_comparison] Review Figure Size Outputs for figsize= overrides #14

Closed

Description

@sayaikegawa

Some codes make too big figure outputs.

Unlike lecture-python-programming.myst, I think we cannot use the solution to use plt.rcParams["figure.figsize"] = (11, 5) #set default figure size.

This is because each code sets up own figure size in code, for example, byfig, (ax1, ax2, ax3, ax4) = plt.subplots(1, 4, figsize=(16, 4)).

Here is the example screenshot.
Screen Shot 2021-01-22 at 5 14 52 pm

Here is lectures that contain oversized figure outputs (to-be-updated):
11
12
16
22
28
38

Possibly in:
4
6
7
13
26
27
34
37

cc: @mmcky

Activity

  1. mmcky commented on Apr 15, 2021

    @mmcky
    Contributor

    thanks @sayaikegawa in this case we will need to review each figure and adjust accordingly for the new context as you're right the default setting will be overwritten with the specific setting.

    Thanks for labelling all the occurances.

    Once we are close to live we will review the figure sizes as a task.

  2. changed the title [-][lecture_comparison]figure_output_size[/-] [+][lecture_comparison] Review Figure Size Outputs for `figsize=` overrides[/+] on Apr 15, 2021
  3. mmcky commented on Apr 20, 2021

    @mmcky
    Contributor

    @shlff would you mind going through this list identified by @sayaikegawa and setting a PR for each lecture with what you think would be a good / appropriate image size for jupyter-book.

    Similar to: #13

    with title: "[{lecture}] Adjust Figure Sizes" and use the manual-change tag

  4. shlff commented on Apr 21, 2021

    @shlff
    Member

    Thanks @mmcky . Please find PRs mentioned above.

  5. mmcky commented on Jun 26, 2021

    @mmcky
    Contributor

    thanks @shlff all merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    high-priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions