Skip to content

Refactor 'plotter.density'

Joseph Weston requested to merge jbweston/kwant:refactor/plotter into master

As per @cwg's request, 'density' has be refactored so that it is just a chained call to 'interpolate_density' and the (new) function 'scalarplot'.

The only weird bit is that in order to compose these we need to put the masking inside 'interpolate_density' and control it with a flag parameter.

Merge request reports