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

hist2d and x/y limits #3815

Copy link
Copy link
Closed
Closed
Copy link
@eyurtsev

Description

@eyurtsev
Issue body actions

The hist2d doesn't behave as expected (at least as I expected) when setting x and y limits.

x = randn(10000);
y = randn(10000);


figure()
xlim(-2, 2);
hist(x, bins=100); # obeys the xlim

figure();
xlim(-2, 2);
ylim(-2, 2);
hist2d(x, y, bins=100); # sets it's own xlim that seems to depend on bin size

Running matplotlib 1.4.2

natestemen, sahaisaumya, linhaobuaa and cgohlke

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No 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.