I want to create a histogram with broken axes and found that there must be a module doing this called brokenaxes that works together with matplotlib (source) .
Anyway, when I trie to import the module like this:
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
I get this error message:
No module named brokenaxes
I'm using ipython5.1 in anaconda 4.3.
Can anyone help me?
In order to use a module it has to be installed. This can be done via
pip install brokenaxes
See https://docs.python.org/3/installing/
However, it seems that the brokenaxes you get from the python package index is currently (as of June 2017) broken (as the name says it ;-)). It should now (as of August 2017) be working again (see answer by package maintainer below).
Alternatively
go to https://github.com/bendichter/brokenaxes, download the files and copy
brokenaxes.py
into your python's site-packages folder.