GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cannot set fig size to less than 2 inch · Issue #172 · matplotlib/matplotlib

Cannot set fig size to less than 2 inch #172

New issue
Copy link
New issue
Copy link
Closed
Closed
Cannot set fig size to less than 2 inch#172
Copy link

Description

@ddale
ddale
opened on Jun 20, 2011
Issue body actions

Original report at SourceForge, opened Wed Nov 3 02:22:06 2010

It seems from everything that I have seen that it is impossible to set the figure size (width or height) to anything below 2 inches. If this is a feature and not a bug, it would be nice if this were better documented, but really I would rather that it would let me make smaller figures so that I can make figures that will be one-to-one when they are published.

Activity

  1. pelson commented on Jun 18, 2012

    @pelson
    pelson
    on Jun 18, 2012
    Member
    More actions

    On master, the following code produces a png of 50x50 pixels:

    fig = plt.figure(figsize=(1, 1), dpi=50)
    plt.plot(range(10))
    plt.savefig('small.png', dpi=50)
    
  2. pelson
    closed this as completedon Jun 18, 2012
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.