Skip to content
View UmarZein's full-sized avatar

Block or report UmarZein

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
UmarZein/README.md
import matplotlib.pyplot as plt
from contextlib import contextmanager

@contextmanager
def figsize_as(width, height):
    original_figsize = plt.rcParams['figure.figsize']
    try:
        plt.rcParams['figure.figsize'] = [width, height]
        yield
    finally:
        plt.rcParams['figure.figsize'] = original_figsize

# Example usage:
with figsize_as(4, 4):
    fig, ax = plt.subplots()
    ax.plot([0, 1], [0, 1])
    plt.show()

Popular repositories Loading

  1. kbbi kbbi Public

    Forked from rizaumami/kbbi

    Kamus Besar Bahasa Indonesia Edisi IV

    Shell 1

  2. audience_programming audience_programming Public

    i think theprimeagen's vim-with-me is pretty cool

    Rust 1

  3. pong pong Public

    python LAN 2-player mouse-position-based low-quality pong game

    Python

  4. alin_tool alin_tool Public

    alat-alat linear aljabar, terbuat dengan rust

    Rust

  5. logmat logmat Public

    alat logmat

    Rust

  6. Safron Safron Public

    Discord bot w/ rust-lang

    Rust