Skip to content

Instantly share code, notes, and snippets.

"""
Plot a treemap corresponding to an org-mode file with weight being the log of number of characters, and the body of a node displayed on hover.
Dependencies: numpy, pandas, plotly, orgparse
Usage
python treemap_org.py file.org
"""

Basic usage

Suppose you have a script my_script.py depending on rlberry that you want to execute in a container.

Pull the container with

$ singularity pull --arch amd64 library://tmath/rlberry/rlberry:test

This will download a 3.2GiB sif image with pre-installed rlberry.