Skip to content

0.2.4

Choose a tag to compare

@morganjwilliams morganjwilliams released this 20 Jan 01:47

0.2.4 Changelog

pyrolite.plot

  • Added pyrolite.plot.pyroplot.plot method
  • Removed pyrolite.plot.pyroplot.ternary method (ternary plots now
    served through the same interface as bivariate plots using
    pyrolite.plot.pyroplot.scatter, pyrolite.plot.pyroplot.plot, and
    pyrolite.plot.pyroplot.plot)
  • Added pyrolite.plot.color for processing color arguments.
  • Moved pyrolite.plot.density to its own sub-submodule, including
    pyrolite.plot.density.ternary and pyrolite.plot.density.grid

pyrolite.util

  • Updated pyrolite.util.time to include official colors.
  • Added pyrolite.util.time
    example
  • Updated pyrolite.util.meta.stream_log to deal with logger
    duplication issues.
  • Various updates to pyrolite.util.plot, noted below:
  • Added universal axes initiation for bivariate/ternary diagrams using
    pyrolite.util.plot.init_axes and axes labelling with
    pyrolite.util.plot.label_axes,
  • Added keyword argument processing functions
    pyrolite.util.plot.scatterkwargs,
    pyrolite.util.plot.linekwargs, and
    pyrolite.util.plot.patchkwargs
  • Added functions for replacing non-projected axes with ternary axes,
    including pyrolite.util.plot.replace_with_ternary_axis,
    pyrolite.util.plot.axes_to_ternary (and
    pyrolite.util.plot.get_axes_index to maintain ordering of new
    axes)
  • Added pyrolite.util.plot.get_axis_density_methods to access the
    relevant histogram/density methods for bivariate and ternary axes
  • Renamed private attributes for default colormaps to
    pyrolite.util.plot.DEFAULT_DISC_COLORMAP and
    pyrolite.util.plot.DEFAULT_CONT_COLORMAP
  • Updated pyrolite.util.plot.add_colorbar to better handle
    colorbars for ternary diagrams