Skip to content

Instantly share code, notes, and snippets.

@ZekunZh
Created January 18, 2022 15:30
Show Gist options
  • Save ZekunZh/3fbd9e78c811ba091bb908e37fe7a439 to your computer and use it in GitHub Desktop.
Save ZekunZh/3fbd9e78c811ba091bb908e37fe7a439 to your computer and use it in GitHub Desktop.

Revisions

  1. ZekunZh created this gist Jan 18, 2022.
    8 changes: 8 additions & 0 deletions jupyter_notebook_change_margin.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    If you only want to change for current notebook, add the following code to cell:

    ```
    from IPython.core.display import display, HTML
    display(HTML("<style>.container { width:100% !important; }</style>"))
    ```

    [Source](https://stackoverflow.com/a/34058270/4893073)