plotnine v0.2.0 Release Notes

Release Date: 2017-05-18 // almost 7 years ago
  • 🛠 Fixes

    • Fixed bug in scale_x_discrete and scale_y_discrete where if they were instantiated with parameter limits that is either a numpy array or a pandas series, plotting would fail with a ValueError.
    • 🛠 Fixed exceptions when using pandas.pivot_table() for Pandas v0.20.0. The API was fixed.
    • 🛠 Fixed issues where lines/paths with segments that all belonged in the same group had joins that in some cases were “butted”.

    API Changes

    • geom_text now uses ha and va as parameter names for the horizontal and vertical alignment. This is what matplotlib users expect. The previous names hjust and vjust are silently accepted.
    • Layers() can now be used to bundle up geoms and stats. This makes it easy to reuse geoms and stats or organise them in sensible bundles when making complex plots.