has2k1/plotnine: v0.6.0
Creators
- Hassan Kibirige
- Greg Lamp
- Jan Katins1
- Austin O.
- gdowding
- Tyler Funnell2
- matthias-k
- Jonas Arnfred
- Florian Finkernagel
- Dan Blanchard3
- Eric Chiang4
- Sergey Astanin
- Paul Natsuo Kishimoto5
- stonebig
- Evan Sheehan
- Robert Gibboni
- Bernard Willers
- Pavel6
- Yaroslav Halchenko7
- smutch8
- zachcp
- John Collins
- Min RK9
- Brian King
- Duncan Brian
- Div Arora
- Dan Brown10
- Dan Becker11
- Bevan Koopman12
- Anthony
- 1. @zenjob
- 2. MSKCC
- 3. Parse.ly
- 4. @Google
- 5. International Institute for Applied Systems Analysis @iiasa
- 6. VK
- 7. Dartmouth College, @Debian, @DataLad, @PyMVPA, @fail2ban
- 8. The University Of Melbourne
- 9. Simula Research Laboratory
- 10. Stripe
- 11. Google
- 12. CSIRO
Description
This release has many changes, check out the changelog. A version of the changes is included below.
API ChangesThe
draw
parameter ofgeom_map
has been removed. Shapefiles should contain only one type of geometry and that is the geometry that is drawn.Ordinal (Ordered categorical) columns are now mapped to ordinal scales. This creates different plots.
The default mapping for the computed aesthetic size of
stat_sum
has changed to'stat(n)'
. This also changes the default plot forgeom_count
.
geom_text
gained theadjust_text
parameter, and can now repel text.- Added
annotation_logticks
. - Added
geom_sina
- Added scales for ordinal (ordered categorical) columns.
geom_step
gained the optionmid
for the direction parameter. The steps are taken mid-way between adjacent x values.- Added
annotation_stripes
.
Fixed bug where facetting would fail if done on a plot with annotation(s) and one of the facetting columns was also a variable in the environment.
Fixed bug where
coord_flip
would not flip geoms created bygeom_rug
(GH216).Fixed bug where plots with
theme_xkcd
cannot be saved twice (GH199)Fixed bug that made it impossible to map to columns with the same name as a calculated columns of the stat. (GH234)
Fixed bug in
geom_smooth
that made it difficult to use it with stats other thanstat_smooth
. (GH242)Fixed bug in
position_dodge
where by bar plot could get thinner when facetting and useingpreserve = 'single'
. (GH224)Fixed bug in
coord_trans
where if the transformation reversed the original limits, the order in which the data was laid out remained unchanged. (GH253)Fixed bug in
stat_count
wherefloat
weights were rounded and lead to a wrong plot. (GH260)Fixed bug where one could not use the British spelling
colour
to rename a color scale. (GH264)Fixed bug in
lims
,xlim
, andylim
wheredatetime
andtimedelta
limits resulted in an error.Fixed bug where
geom_rect
could not be used withcoord_trans
. (GH256)Fixed bug where using free scales with facetting and flipping the coordinate axes could give unexpected results. (GH286)
Fixed unwanted tick along the axis for versions of Matplotlib >= 3.1.0.
Fixed
geom_text
not to error when usinghjust
andvjust
. (GH287)Fixed bug where
geom_abline
geom_hline
andgeom_vline
could give wrong results when used withcoord_trans
.Fixed bug where layers with only infinite values would lead to an exception if they were the first layer encountered when choosing a scale.
Legends are now plotted in a predictable order which dedends on how the plot is constructed.
The spokes drawn by
geom_spoke
can now have a fixed angle.Aesthetics that share a scale (e.g. color and fill can have the same scale) get different guides if mapped to different columns.
When the transform of a specialised (one that is not and identity scale) continuous scale is altered, the user is warned about a possible error in what they expect. (GH254, GH255)
The
method_args
parameter instat_smooth
can now differentiate between arguments for initialising and those for fitting the smoothing model.position_nudge
can now deal with more geoms e.g.geom_boxplot
.The
limits
parameter ofscale_x_discrete
andscale_y_discrete
can now be a function.The
width
of the boxplot can now be set irrespective of the stat.The mid-point color of
scale_color_distiller
now matches that of the trainned data.The way in which layers are created has been refactored to give packages that that extend plotnine more flexibility in manipulating the layers.
You can now specify one sided limits for coordinates. e.g.
coord_cartesian(limits=(None, 10))
.All the themeables have been lifted into the definition of
theme
so they can be suggested autocomplete.
Files
has2k1/plotnine-v0.6.0.zip
Files
(4.4 MB)
Name | Size | Download all |
---|---|---|
md5:62bc541e4f4b8fbe545add0d5c56d4c9
|
4.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/has2k1/plotnine/tree/v0.6.0 (URL)