Skip to content

Latest commit

 

History

History
144 lines (117 loc) · 6.24 KB

CHANGELOG.rst

File metadata and controls

144 lines (117 loc) · 6.24 KB

What's new in version 0.9

  • Fixes a bug where show_percentages used the incorrect denominator if filtering (e.g. min_subset_size) was applied. This bug was a regression introduced in version 0.7. (:issue:`248`)
  • Align ylabels of subplots added using add_catplot. (:issue:`266`)
  • Add a style_categories method to customize category plot styles, including shading of rows in the intersection matrix, and bars in the totals plot. (:issue:`261` with thanks to :user:`Marcel Albus <maralbus>`).
  • Ability to disable totals plot with totals_plot_elements=0. (:issue:`246`)
  • Ability to set totals y axis label (:issue:`243`)
  • Added max_subset_rank to get only n most populous subsets. (:issue:`253`)
  • Added support for min_subset_size and max_subset_size specified as percentage. (:issue:`264`)

What's new in version 0.8

  • Allowed show_percentages to be provided with a custom formatting string, for example to show more decimal places. (:issue:`194`)
  • Added include_empty_subsets to UpSet and query to allow the display of all possible subsets. (:issue:`185`)
  • sort_by and sort_categories_by now accept '-' prefix to their values to sort in reverse. 'input' and '-input' are also supported. (:issue:`180`)
  • Added subsets attribute to QueryResult. (:issue:`198`)
  • Fixed a bug where more than 64 categories could result in an error. (:issue:`193`)

Patch release 0.8.2 handles deprecations in dependencies.

What's new in version 0.7

What's new in version 0.6

  • Added add_stacked_bars, similar to add_catplot but to add stacked bar charts to show discrete variable distributions within each subset. (:issue:`137`)
  • Improved ability to control colors, and added a new example of same. Parameters other_dots_color and shading_color were added. facecolor will now default to white if matplotlib.rcParams['axes.facecolor'] is dark. (:issue:`138`)
  • Added style_subsets to colour intersection size bars and matrix dots in the plot according to a specified query. (:issue:`152`)
  • Added from_indicators to allow yet another data input format. This allows category membership to be easily derived from a DataFrame, such as when plotting missing values in the columns of a DataFrame. (:issue:`143`)

What's new in version 0.5

What's new in version 0.4.4

  • Fixed a regresion which caused the first column to be hidden (:issue:`125`)

What's new in version 0.4.3

What's new in version 0.4.2

What's new in version 0.4.1

  • Fixed the calculation of percentage which was broken in 0.4.0. (:issue:`101`)

What's new in version 0.4

What's new in version 0.3

  • Added from_contents to provide an alternative, intuitive way of specifying category membership of elements.
  • To improve code legibility and intuitiveness, sum_over=False was deprecated and a subset_size parameter was added. It will have better default handling of DataFrames after a short deprecation period.
  • generate_data has been replaced with generate_counts and generate_samples.
  • Fixed the display of the "intersection size" label on plots, which had been missing.
  • Trying to improve nomenclature, upsetplot now avoids "set" to refer to the top-level sets, which are now to be known as "categories". This matches the intuition that categories are named, logical groupings, as opposed to "subsets". To this end:
    • generate_counts (formerly generate_data) now names its categories "cat1", "cat2" etc. rather than "set1", "set2", etc.
    • the sort_sets_by parameter has been renamed to sort_categories_by and will be removed in version 0.4.

What's new in version 0.2.1

  • Return a Series (not a DataFrame) from from_memberships if data is 1-dimensional.

What's new in version 0.2

  • Added from_memberships to allow a more convenient data input format.
  • plot and UpSet now accept a pandas.DataFrame as input, if the sum_over parameter is also given.
  • Added an add_catplot method to UpSet which adds Seaborn plots of set intersection data to show more than just set size or total.
  • Shading of subset matrix is continued through to totals.
  • Added a show_counts option to show counts at the ends of bar plots. (:issue:`5`)
  • Defined _repr_html_ so that an UpSet object will render in Jupyter notebooks. (:issue:`36`)
  • Fix a bug where an error was raised if an input set was empty.