Giter Club home page Giter Club logo

Comments (4)

zblz avatar zblz commented on July 24, 2024

See matplotlib/matplotlib#5477 and matplotlib/matplotlib#5485. As far as I can tell it would be solved by sorting the levels before passing them onto plt.contourf.

from corner.py.

dfm avatar dfm commented on July 24, 2024

Thanks for this! I don't think that it'll be quite as easy as sorting... we want the "each level to infinity" style from your link not the "increasing levels" style. But I'm sure it won't be hard to fix based on this! I'll try to do it later today. Thanks again!

from corner.py.

tacaswell avatar tacaswell commented on July 24, 2024

Are you using the 'each level to infinity' to get the alpha blending? If that is the case, it would be easier to use a color map which has alpha in some of the values and an increasing set of levels.

from corner.py.

dfm avatar dfm commented on July 24, 2024

@tacaswell: I'm sure there must be a better way! Here's the current (hackish/embarrassing) implementation that I wrote years ago. Any suggestions you have would be much appreciated.

https://github.com/dfm/corner.py/blob/master/corner.py#L479

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.