Skip to content

0.2.5

Compare
Choose a tag to compare
@morganjwilliams morganjwilliams released this 19 Feb 03:09

0.2.5 Changelog

  • PR Merged: @lavender22 updated the spider diagram example to add a link to the normalisation example (which lists different reservoirs you can normalise to).
  • Added an 'Importing Data' section to the docs Getting Started page.
  • Disabled automatic extension loading (e.g. for pyrolite_meltsutil) to avoid bugs during version mismatches.

pyrolite.comp

  • Updated the pyrolite.comp.pyrocomp dataframe accessor API to include
    reference to compositional data log transform functions within pyrolite.comp.codata

pyrolite.plot

  • Added support for spider plot index ordering added with the keyword index_order (#30)
  • Added support for color indexing in pyrolite.plot.color using
    pandas.Series, and also for list-like arrays of categories
  • Added a workaround for referring to axes positions where the projection is changed
    to a ternary projection (displacing the original axis), but the reference to the
    original axes object (now booted from fig.axes/fig.orderedaxes) is
    subsequently used.
  • Updated pyrolite.plot.color.process_color processing of auxillary
    color keyword arguments (fixing a bug for color arguments in pyrolite.plot.stem)
  • Added support for a color_mappings keyword argument for mapping
    categorical variables to specific colors.
  • Updated the effect of relim keyword argument of
    pyrolite.plot.density.density to remove the scaling (it will no longer
    log-scale the axes, just the grid/histogram bins).
  • Updated pyrolite.plot.ternary.grid.Grid to accept an x-y tuple to specify
    numbers of bins in each direction within a grid (e.g. bins=(20, 40))
  • Updated the grids used in some of the pyrolite.plot.density.density
    methods to be edges, lining up the arrays such that shading parameters
    will work as expected (e.g. shading='gouraud')

pyrolite.geochem

  • Added sorting function pyrolite.geochem.ind.by_imcompatibility
    for incompatible element sorting (based on BCC/PM relative abundances).

pyrolite.mineral

  • Minor bugfix for pyrolite.mineral.mindb.update_database

pyrolite.util

  • Moved pyrolite.util.general.check_perl out of pyrolite into pyrolite_meltsutil