Coder Social home page Coder Social logo

Comments (4)

bbengfort avatar bbengfort commented on July 22, 2024

This task requires the ability to modify the visual environment in Yellowbrick similar to how Seaborn does it - but we're happy for ideas about how to do this in more innovative and intuitive ways. For lack of any ideas right now, I'll discuss Seaborn's:

  • set_style - set the color scheme and other color properties
  • set_context - set the font and size for 'talk', 'poster', 'paper', 'notebook', etc.

See: https://stanford.edu/~mwaskom/software/seaborn/tutorial/aesthetics.html for more.

We also want our own unique visual style that is clean like Seaborn without cloning it. We really like the idea of using Color Brewer as a foundation of our visualizations: https://bl.ocks.org/mbostock/5577023

from yellowbrick.

pvomelveny avatar pvomelveny commented on July 22, 2024

Question:
Do we want Yellowbrick to blanket overwrite mpl defaults on import? It would then compete with Seaborn as well I think. Who ever gets imported last gets control of the style? (Actually it may make some kind of odd hybrid if we don't perfectly match the various Seaborn changes)

from yellowbrick.

bbengfort avatar bbengfort commented on July 22, 2024

It would be awesome to do an experiment about how the drawing environment
changes by mapping the global parameters (and a potential blog post). I
know I just said this outloud, but for the purposes of documentation:

  1. Modify the mpl defaults
  2. Visualize using striaght mpl
  3. Visualizing using pandas
  4. Visualize using seaborn
  5. set_context/set_style
  6. Visualize using straight mpl
  7. Visualize using pandas

And we can watch what is happening/changing.

from yellowbrick.

pvomelveny avatar pvomelveny commented on July 22, 2024

Made a notebook with some quick experiments. Seems like most things are using the matplotlib rc settings that Seaborn creatively overwrites upon import.

Let me know if I missed anything obvious. Going to start copying over the Seaborn style functionality into Yellowbrick.

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.