FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cannot set fig size to less than 2 inch · Issue #172 · matplotlib/matplotlib · GitHub

Repository navigation

Cannot set fig size to less than 2 inch #172

Closed

Description

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

    Member

    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)
    
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


      Back | FazBrowse Home | New Git URL