There is a newer version of the record available.

Published October 29, 2024 | Version v0.14.0
Software Open

has2k1/plotnine: v0.14.0

  • 1. @coiled
  • 2. International Institute for Applied Systems Analysis @iiasa
  • 3. @Google
  • 4. @rstudio
  • 5. The University Of Melbourne
  • 6. Dartmouth College, @dandi, @Debian, @DataLad, @neurodebian, @PyMVPA, @fail2ban
  • 7. IRESS
  • 8. Simula Research Laboratory
  • 9. @Quansight
  • 10. Brooklyn Brainery
  • 11. @deadsetbit
  • 12. @methlabUZH Methods of Plasticity Research, Department of Psychology, University of Zurich

Description

API Changes

  • You cannot call print on a ggplot object to show it. This was deprecated in v0.13.0 and it has now been removed. Use ggplot.show()

  • The color_space parameter of scale_color_hue now accepts the value "hlsuv" instead of "husl". The meaning of has not changed, and "husl" is silently accepted.

  • Themeables axis_ticks_direction, axis_ticks_direction_x and axis_ticks_direction_y have be deprecated. In their place, the direction of the ticks can be controlled by using +ve, -ve or complex values for the axis_ticks_length, axis_ticks_length_major, axis_ticks_length_major_x, axis_ticks_length_major_y, axis_ticks_length_minor, axis_ticks_length_minor_x, or axis_ticks_length_minor_y.

Enhancements

  • The family, fontstyle and fontweight parameters of geom_text are now aesthetics (#790).

  • plotnine now responds to the fig-width, fig-height and fig-format settings in the meta section of a quarto document.

  • ggtitle now accepts title and subtitle as keyword arguments. (#804)

  • Gained the option limitsize that makes it possible to display plots of any size.

    from plotnine.options import set_option
    
    set_option("figure_format", False)
    
  • For geom_boxplot when the outliers are made invisible by giving them no shape, now they do not affect the limits of the plot. (#814)

  • Made it possile to map an aesthetic value to None. (#791)

  • The signatures for the scale classes now list all the allowed parameters.

New Features

  • geom_text has gained new aesthetics fontvariant and fontstretch.

Bug Fixes

  • Fix layers 3 and above not to overlap the axis lines if there are any (#798).

  • Fixed bug in geom_segment where the lineend parameter was ignored. (#727)

  • Fixed stat_summary_bin to work with continuous x aesthetic when specifying the binwidth or breaks. (#824)

  • Fixed PlotnineAnimation not to draw a second legend at the bottom-left corner. (#816)

  • Fixed bug where setting theme(text=element_blank()) would raise and exception.

Files

has2k1/plotnine-v0.14.0.zip

Files (6.8 MB)

Name Size Download all
md5:ef16167abd8ed9b614e2a98b2842e667
6.8 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/has2k1/plotnine/tree/v0.14.0 (URL)