EOmaps v3.3.1
A minor bugfix release (that also brings some miscellaneous convenience functions)
π³ NEW
(β: new feature, π: new functionality for existing feature)
- β there's a new function
m.subplots_adjust()
forMaps
andMapsGrid
objects to quickly set the margins of the plots as well as the horizontal and vertical spacing between subplots:m = Maps() m.subplots_adjust(left=0.2, right=0.8, top=0.9, bottom=0.1)
(these are just shortcuts formg = MapsGrid() mg.subplots_adjust(left=0.2, right=0.8, top=0.9, bottom=0.1, hspace=0.05, wspace=0.15)
m.figure.gridspec.update()
+m.redraw()
) - π
m.add_colorbar
now has an additional kwarglog=True/False
to make the y-axis of the histogram logarithmic. - π
m.add_scalebar
now provides style-presets viapreset="<preset-name>"
- at the moment there's only 1 preset... more to come in future releases!
"bw"
: a simple black-and-white style without a background
π¨ fixes
- fix
m.savefig
with different dpi-settings requres a re-draw - fix
m.plot_map
withdynamic=True
does not require a update - incorporated some updates to ensure that layers are only re-drawn if necessary
- make sure cached backgrounds are always re-drawn if new artists are added
- fix annotation in example 9 (still used old syntax)