Skip to content
View UmarZein's full-sized avatar
Block or Report

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

  1. audience_programming audience_programming Public

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

    Rust 1

  2. pong pong Public

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

    Python

  3. alin_tool alin_tool Public

    alat-alat linear aljabar, terbuat dengan rust

    Rust

  4. logmat logmat Public

    alat logmat

    Rust

  5. Safron Safron Public

    Discord bot w/ rust-lang

    Rust

  6. belajarAjaaah belajarAjaaah Public

    Forked from Zentilax/belajarAjaaah

    sedang_belajar_git_juga

    Python