Giter Club home page Giter Club logo

Comments (8)

ljschumacher avatar ljschumacher commented on July 24, 2024 2

how do I set the limits for a corner plot? I can't find it in the documentation.

from corner.py.

emilylurice avatar emilylurice commented on July 24, 2024

Yes. I manually set the limits, but that's not ideal. Thanks!

On Wed, Jun 26, 2013 at 6:05 PM, Dan Foreman-Mackey <
[email protected]> wrote:

Right now, it hard sets the limits to the range of the last set of
samples that are plotted. This isn't very useful. You can hack this by
using the extent keyword but it would probably be good to default to
something better... like only letting the limits get bigger. Eh? [image:
🍁]


Reply to this email directly or view it on GitHubhttps://github.com//issues/15
.

from corner.py.

dfm avatar dfm commented on July 24, 2024

I'm probably not going to fix this... anything I can think of ends up being a big hack! I think we just ned to stick to manually assigning limits.

from corner.py.

drphilmarshall avatar drphilmarshall commented on July 24, 2024

I think that's right: manually assigning limits is the only sane thing to
do when overplotting.

On Sun, Apr 5, 2015 at 10:14 AM, Dan Foreman-Mackey <
[email protected]> wrote:

Closed #15 #15.


Reply to this email directly or view it on GitHub
#15 (comment).

from corner.py.

jtlz2 avatar jtlz2 commented on July 24, 2024

@ljschumacher @emilylurice @dfm Any advice on how to set limits (also can't find it in the docs)?

from corner.py.

ljschumacher avatar ljschumacher commented on July 24, 2024

Just checked my code and here is what I did to set the x-axes of plots to be the same – the indexing is ugly and could be done better
`fig = corner.corner(posterior_samples,
labels=something)
maxrate = np.round(np.max(np.max(posterior_samples, axis=0)))

for rowi in range(ndim):
    for coli in range(ndim):
        if rowi == coli:
            fig.axes[rowi*ndim+coli].set_xlim(0, maxrate)`

from corner.py.

dfm avatar dfm commented on July 24, 2024

@jtlz2: I believe that the issue discussed here has been fixed for several releases so can you be clearer about what you mean by "limits" here? If there is a bug, please open a new issue.

from corner.py.

jtlz2 avatar jtlz2 commented on July 24, 2024

@dfm - Fair point - I will open a new issue now :)

from corner.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.