8000 GitHub Β· Where software is built
[go: up one dir, main page]

Skip to content
hist2d and x/y limitsΒ #3815
Closed
Closed
@eyurtsev

Description

@eyurtsev

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

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

      0