"Python" was tagged in 11 articles:

Playing with Randall Munroe's XKCD handwriting

2017

March

16

The XKCD font (as used by matplotlib et al.) recently got an update to include lower-case characters. For some time now I have been aware of a handwriting sample produced by Randall Munroe (XKCD's creator) that I was interested in exploring. The ultimate aim is to automatically produce a font-file …

Mounting a FUSE filesystem in Heroku

2017

February

6

This evening I'm going to take a different approach to how I would normally blog. Rather than reporting the results of a technical investigation or highlighting a new/shiny package, I wanted to paint a realistic picture of the technical exploration process. As it happens, this particular investigation consumed a …

Running scripts in temporary conda environments with conda execute

2015

October

3

Update, August 2026 I no longer maintain conda execute, and haven't for some time. If you're looking for the same idea today, running a script in a throwaway environment described by inline metadata, the well-supported options are pixi exec (the closest conda-native successor, from the prefix-dev team) and, for pure-Python …

Interactive matplotlib figures in the IPython notebook - they've landed!

2014

June

3
Thumbnail for nbagg_backend

After what feels like years chipping away at the problem, not least from some awesome developers including the whole of the IPython development team, Michael Droetboom and Jason Grout, I recently closed the development loop and added a new matplotlib backend providing interactive figures in the IPython notebook environment. The …

Working with colours in matplotlib

2013

June

3
Thumbnail for working_with_colors_in_matplotlib

When dealing with colours in scientific visualisations some people like to have a colourmap which can be indexed into to pick specific colours. Whilst this isn't necessarily the best way of handling colours in matplotlib, it certainly adds a degree of familiarity to users who have come over from other …