{"repo":"has2k1/plotnine","free":true,"listed":false,"github":"https://github.com/has2k1/plotnine","clone":"git clone https://github.com/has2k1/plotnine.git","description":"A Grammar of Graphics for Python","language":"Python","stars":4756,"topics":["plotting","grammar","graphics","python","data-analysis"],"license":"MIT","category":"dev-tools","readme_excerpt":"plotnine plotnine is an implementation of a grammar of graphics in Python based on ggplot2. The grammar allows you to compose plots by explicitly mapping variables in a dataframe to the visual characteristics (position, color, size etc.) of objects that make up the plot. Plotting with a grammar of graphics is powerful. Custom (and otherwise complex) plots are easy to think about and build incrementally, while the simple plots remain simple to create. To learn more about how to use plotnine, check out the documentation. Since plotnine has an API similar to ggplot2, where it lacks in coverage the ggplot2 documentation may be helpful. Example Building a complex plot piece by piece. 1. Scatter plot 2. Scatter plot colored according some variable 3. Scatter plot colored according some variable and smoothed with a linear model with confidence intervals. 4. Scatter plot colored according some variable, smoothed with a linear model with confidence intervals and plotted on separate panels. 5. Adjust the themes I) Make it playful II) Or professional Installation Official release Development version Contributing Our documentation could use some examples, but we are looking for something a little bit special. We have two criteria: 1. Simple looking plots that otherwise require a trick or two. 2. Plots that are part of a data analytic narrative. That is, they provide some form of clarity showing off the geom , stat , ... at their differential best. If you come up with something that meets","default_branch":null,"files":null,"tree":[],"storefront":"/r/has2k1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/has2k1/plotnine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}