#plotnine

2025-06-05

Warm recommendations for #plotnine for #python visualisation: it's feels a bit like emacs in that it takes time to grok its mental model, certainly if, like me you have no previous experience with its ancestor ggplot. But in the end it just does the job.

2025-05-30

I was going to sit down and learn the {plotnine} python library today, but turns out there's nothing really to learnโ€”it's literally {ggplot2} code wrapped in parentheses. If you know {ggplot2} in R, turns out you also know how to make plots on Python!

#Rstats #plotnine #Python

2025-04-15

The recording of my PyData Global talk about data visualisation with Plotnine in #Python is now available! ๐Ÿ

Give it a watch if you're interested in:

๐Ÿ“Š customising plotnine plots
๐Ÿ“ˆ combining with matplotlib functions
โœ๏ธ adding custom annotations with HighlightText

(or if you're an #RStats user wondering about Plotnine vs #ggplot2)

Link: youtube.com/watch?v=NBGJuaBF2r

#DataViz #Plotnine

2025-03-12

Did you know you can now access #TidyTuesday data in #Python as well as #RStats?

Here's a plot of this week's data about Pixar films made with Plotnine! ๐Ÿ“Š

๐Ÿ’ป Import data using PyDyTuesday
๐ŸŽจ Coloured subtitle text added with highlight_text
๐Ÿ–Š๏ธ Fonts installed with pyfonts by Joseph Barbier

Code: github.com/nrennie/tidytuesday

#DataViz #ggplot2 #plotnine #PydyTuesday

The chart compares critic ratings for 13 Pixar films released between 1995 and 2019, using scores from Rotten Tomatoes, Metacritic, and Critics Choice. Each movie is represented by three horizontal bars, showing variation in ratings across different review platforms. The data highlights a dip in scores for Cars 2 before a gradual recovery, with Toy Story and Toy Story 2 achieving the highest Rotten Tomatoes ratings.

Gan nad ydwy'n gwneud cyfrifiadau ystadegol cymhleth rhagor, y prif reswm ro'n i'n dal i ddefnyddio R oedd i ddelweddu data gyda ggplot2. Ond rwy newydd ddarganfod plotnine ar gyfer Python, sy'n gweithio'n arbennig o dda, felly'n annhebygol o fynd yn รดl i R!

#R #Python #ggplot2 #plotnine

2024-12-03

PyData Global starts today! This evening I'll be talking about customising charts with Plotnine, and building better data visualisations ๐Ÿ“Š

๐Ÿ“… Tue 3 Dec 2024
โฐ 18:30 UTC (13:30 EST)

#PyData #Plotnine #Python #DataViz

A presentation slide titled "Practical Techniques for Polished Visuals with Plotnine" by Nicola Rennie for PyData Global 2024. It features a hexagon design on the left and Nicolaโ€™s contact details on the bottom right, including social media and website links.
2024-11-18

I'm super excited to be speaking at PyData Global in December! I'll be talking about:

๐Ÿ“Š customising plotnine plots
๐Ÿ“ˆ combining with matplotlib functions
โœ๏ธ adding custom annotations with HighlightText

I'll be using this chart ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡ as an example!

Link: buff.ly/3Z9R9k6

#DataViz #Plotnine #Python #PyData #ggplot2

Area plot of different types of coal production with custom annotations instead of a legend
2024-10-06

2441 runestones in Sweden.
#pydata #python #plotnine #dataviz

Map of Sweden with dots showing the location of runestones.
2024-09-30

Trying out #plotnine and loving it so far! I guess being used to #ggplot2 helps.
#pydata #datavisualization

A heatmap visualization of Stockholm mean temperatures per day between 2013-2023
Sergio Ollerzeehio
2024-09-24

enables me to plot in at a similar speed I can plot in . Love the syntax!

2024-09-10

I'm absolutely thrilled to be one of the runners up in the 2024 Plotnine Contest! ๐Ÿ“Š

You can view my annotated area chart and blog post about it's creation here: nrennie.rbind.io/blog/plotnine

Winners announcement: posit.co/blog/winner-of-the-20

#DataViz #Python #plotnine

Plotnine contest banner
2024-09-09

Meet the Winners of the 2024 Plotnine Contest!

"On a personal note, developing open-source software can be a lonely task. I am physically quite distant from plotnineโ€™s end-users, focused on answering issues online, delivering new features, and generally deep in code. As the community has grown, Iโ€™ve been amazed at the creativity, inventiveness and technical prowess with which plotnine is used." ~Hassan Kibirige, maintainer of plotnine.

posit.co/blog/winner-of-the-20

#pydata #plotnine #posit

2024-07-17

A quick chart looking at the rankings of different clubs in the FA Women's Super League for #TidyTuesday this week!

๐Ÿ“Š chart made using `plotnine` in Python
โœ๏ธ coloured and bold text added with `highlight-text`
๐Ÿ’ก Googling for `plotnine` help? Add a -ggplot2 to your search to hide ggplot2-specific results!

Code: github.com/nrennie/tidytuesday

#Python #DataViz #DSLC #plotnine

a rank chart showing how the ranking of different Women's football clubs in the FA Women's Super league have changed. Chelsea Women are highlighted.
2024-07-11

๐Ÿšจ New blog post! ๐Ÿšจ

I've written up a tutorial blog post showing you how to make annotated area charts using plotnine in Python (with a little bit of help from highlight-text and matplotlib to add coloured text as a subtitle)! ๐Ÿ“Š

(possibly of interest to #RStats users who make plots with #ggplot2!)

Blog post: nrennie.rbind.io/blog/plotnine

#Python #plotnine #DataViz

2024-07-10

The Plotnine Contest has been extended until July 26th!

If you are ready to test your python plotting chops, and contribute to the plotnine community, learn more and take part, posit.co/blog/announcing-the-2

#pydata #plotnine #posit

2024-07-01

๐Ÿ“ "Plotnine plot contest"

๐Ÿ‘ค Isabel Zimmerman (@isabelizimm)

๐Ÿ”— isabelizimm.me/posts/2024-06-2

#pyladies #python #plotnine #data

2023-09-02

I made some art in #plotnine with #python instead of #ggplot2 with #rstats and It's me. I'm R Users.

Butterfly meme, in which a naive person gestures at a butterfly and calls it a pigeon. Naive person label: R Users. Butterfly label: Writes 14 lines of code in python. Speech label: Does this count as being bilingual?

@bloom @washingtonpost I haven't seen these visualizations specifically, but I know a bit about making visualizations. In general, the most powerful and flexible way to generate graphics is the "grammar of graphics" idea coming from #ggplot2 from #rstats. In #python, there are two libraries that do it well: #plotnine and since this year also #seaborn. Both are good and have multiple nice themes, pick the one you like the most.

Noticias sobre Python y Datos de la semana, episodio 77 ๐Ÿโš™๏ธ

En resumen: Versiones nuevas de Altair, plotnine, y pandera, codificando variables categรณricas de manera sencilla en scikit-learn, trabajando con datasets particionados en Kedro, nos vemos en la PyCon Lituania, y fotitos de la JupyterCon de Parรญs.

buttondown.email/astrojuanlu/a

Apoya el noticiero suscribiรฉndote por correo ๐Ÿ“ฌ

#noticieropythonydatos #python #pydata #altair #plotnine #dataviz #pandera #sklearn #kedro #pyconlt #jupytercon2023

plotnine 0.12.1 is out! ๐ŸŽจ

plotnine is an implementation of the Grammar of Graphics in Python. In other words: "ggplot2 meets Python".

This version has a new layout manager (so it's easier to avoid overlapping objects), a new `save_helper()` method gives you access to the matplotlib figure, and much more.

Install it with `pip install "plotnine==0.12.1"`

Complete release notes: github.com/has2k1/plotnine/rel

#python #pydata #dataviz #plotnine #ggplot2 #datascience

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst