daleroberts / itermplot

An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.
1.49k stars 51 forks source link

is there any way to change figsize in terminal? #53

Closed gathierry closed 2 years ago

gathierry commented 2 years ago

If I'm not able to change the python code and set rcParams in python. Is there any way to change the figure size in terminal? like set environment variables?

daleroberts commented 2 years ago

You can set the height in terms of the number of lines using the ITERMPLOT_LINES environment variable. Unfortunately, setting width has not been implemented but I accept pull requests if you want to have a go.

On 4 Apr 2022, at 11:04 pm, Shiyu @.***> wrote:

If I'm not able to change the python code and set rcParams in python. Is there any way to change the figure size in terminal? like set environment variables?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

gathierry commented 2 years ago

I realized that changing number of lines is what I need as the width is zoomed as well