GithubHelp home page GithubHelp logo

Comments (2)

rebeccabilbro avatar rebeccabilbro commented on June 11, 2024

Hello @LSYS and thank you for using Yellowbrick!

This is an excellent question. Full response below, but the tl;dr is that the behavior you're requesting isn't currently possible, though if you are willing to work on this and open a PR, it probably wouldn't be too hard to add support for changing marker size in PredictionError.

Ok, the details:

For most YB plots that plot points or scatterplots, the marker size is left to the default of whatever Matplotlib sets the size/shape to. The one exception is ValidationCurve, which allows the user to pass in a markers param that gets used inside the draw method to influence the markers. This is a fairly recent change implemented by @lwgray , who may have some additional thoughts here. It should be possible to make similar changes to the PredictionError constructor to take in a user-provided param that gets invoked inside the draw method.

If you're interested in moving forward with contributing, check out the contributor docs and let us know; I'd be happy to help coach you through and review your PR.

from yellowbrick.

LSYS avatar LSYS commented on June 11, 2024

@rebeccabilbro Thanks so much for the fast and detailed response. When I have time I'll look in a bit more detail at the API design of yellowbrick to see if I can contribute. Perhaps learning how yellowbrick interfaces with matplotlib would also be helpful for my own work.

Thanks again! Closing this issue (for now).

from yellowbrick.

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.