Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Axis limits are set badly with small values in scatter(). #9979

Copy link
Copy link
Closed
@naught101

Description

@naught101
Issue body actions

I'm not sure if this is related to #7413

Bug report

Example:

%pylab
x = randn(1000) / 1e5
y = randn(1000) / 1e5
scatter(x, y)

produces this:
figure_1

It should really produce something more like this:

figure_1-2

There's not an obvious way to do this, other than manually getting the min/max x and y values and adding a little bit and using ax.set_x/ylim()

Using conda on kubuntu:

matplotlib                2.1.0            py36hba5de38_0  
python                    3.6.3                h0ef2715_3  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.