Code Monkey home page Code Monkey logo

Comments (8)

ivanistheone avatar ivanistheone commented on July 24, 2024 2

Two more usage tutorials for plotnine in case you ever want to revisit this topic:

I'd be interested to contribute plotnine impl. of certain basic figures if there is interest (as measured by the number of thumbs up on this comment).

from the-python-graph-gallery.

holtzy avatar holtzy commented on July 24, 2024

Hi votti, Thanks for this suggestion. I have to study this library more in depth, it looks very promising. Thanks!

from the-python-graph-gallery.

votti avatar votti commented on July 24, 2024

I just remembered that there is even another repository with plotnine examples:
https://github.com/has2k1/plotnine-examples/

from the-python-graph-gallery.

holtzy avatar holtzy commented on July 24, 2024

I'm reaching the end of the bandwidth I had to update the gallery and did not find time for the plotnine library, so I'm gonna close this old issue :(

from the-python-graph-gallery.

holtzy avatar holtzy commented on July 24, 2024

Hi @ivanistheone, thanks for your comment.

As stated before, I would be very keen to add some plotnine examples to the gallery. I just don't have the bandwidth for it yet.

If you feel like contributing (that would be awesome! 😄 ), it would be cool to have a translation of any of the R graph gallery ggplot2 blogpost in plotnine. The post in the python graph gallery are just jupyter notebooks, so building PRs should be relatively straightforward.

Example: density chart, histogram and so many others..

Otherwise I keep it in mind for when I will have more time on the project!

from the-python-graph-gallery.

ivanistheone avatar ivanistheone commented on July 24, 2024

Is there a contributing guide somewhere?

I'm slowly getting around to looking at plotnine (I'm a beginner, but there are so many examples and this project has nice tooling so I want to try adding some basic charts just to get some practice with it).

I was looking to start with a boxplot, and I see each thumbnail is a link to a notebook:

          <ChartImageContainer
            imgName="33_Custom_Boxplot_color_Seaborn5"
            caption="Everything you need concerning color customization on your boxplot: transparency, palette in use, manual control.."
            linkTo="/33-control-colors-of-boxplot-seaborn"
          />

where the image is in static/graph folder and the linkTo is this notebook, but Q1: how was the image name 33_Custom_Boxplot_color_Seaborn5.png generated?

I'm guessing the 5 is an auto-incrementing, i.e. fifth graphic in the notebook, but where did 33_Custom_Boxplot_color_Seaborn come from?

The notebook has slug = 33-control-colors-of-boxplot-seaborn in the metadata section at the end of the .ipynb json, so that doesn't seem to be it.

Q2: Is there a build system for the notebooks that extracts all the graphics and put them into static/graph?

Any pointers and tips for getting started will be much appreciated.

from the-python-graph-gallery.

holtzy avatar holtzy commented on July 24, 2024

Hi @ivanistheone @votti

I'm back with bandwidth to work on the gallery.

  • I took another look at plotnine and it definitely makes sense to add examples to the gallery.

  • I am currently documenting the process to add new examples in the repo Wiki

  • Q1 -> The images you see in the gallery are hand-made.

  • Q2 -> NO, I do it by hand

Thanks!

from the-python-graph-gallery.

holtzy avatar holtzy commented on July 24, 2024

Closing now as we're in the process of adding examples with @JosephBARBIERDARNAL

from the-python-graph-gallery.

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.