diff --git a/changelog.html b/changelog.html index 3729aea14..fb1b76247 100644 --- a/changelog.html +++ b/changelog.html @@ -113,7 +113,7 @@
(not-yet-released)
+geom_text
has gained new aesthetics fontvariant
and fontstretch
.(2024-05-09)
@@ -303,8 +324,8 @@geom_label
to work with a boxstyle
of any following square
, circle
, darrow
, larrow
, rarrow
, roundtooth
or sawtooth
.(#779)Stopped spurious warnings of the form PlotnineWarning: Failed to apply `after_scale` modifications to the legend.
when the after_scale
mapping is for another aestetic.
Added width
and height
as default aesthetics of geom_tile
.
svg_usefonts
. (#756)(2024-03-14)
-Fixed issue where the gridlines overlap the panel border. (#638)
All __all__
variables are explicitly assigned to help static typecheckers infer module attributes. (#685)
You can now pickle the drawn matplotlib figures. (#729)
Fixed stat_boxplot
and stat_ydensity
when there is no x
aesthetic.
stat_summary
.(2023-09-01)
-(2023-05-09)
-A layout manager. Now you do not have to adjust spacing parameters to prevent objects around the panels from overlapping. Specifically, you can:
```py theme(plot_subtitle=element_text(size=8))
ggplot
object gained a new method save_helper
. It gives you access to the matplotlib figure that will be saved to file.
When plotting with an ipython interactive backend (e.g. in a jupyter notebook). The default image output is retina. You do not need to run this command.
@@ -600,8 +621,8 @@Fixed geom_text
when using adjust_text
for the arrows to have the same color as the text.
geom_ribbon
acquired new parameter where
which can be used shade withing given limits .
Added support for objects with a to_pandas
method to convert them to a pandas dataframe. You can now pass in polars dataframes.
ggplot
, the order of the positional arguments is (data, mapping)
and for calls geoms
and stats
the order is (mapping, data)
. In practice, you can still provide one/two positional arguments in any order. However, the are a few cases where old code will breaks due to duplicate parameters.Added geom_pointdensity
, a 2D density plot that does not hide the distribution of the individual data points.
position_dodge2
gained the ability to reverse the order of the plotted groups. (#515)
Fixed geom_ribbon
, geom_area
and geom_density
to work with coord_flip
. (#596)
stat_summary
now has a default summary function. (#528)
stat_density
now uses a fast computation path for gaussian densities with no weights. This was probably a regression.
after_stat
function. The old methods 'stat(name)'
and '..name..'
have been deprecated.You can now map to aesthetics at three different stages. See aes
, after_stat
, after_scale
and stage
.
geom_violin
gained the a new parameter style
with which you can draw half violin (density curve on one side and flat on the other).
Manual scales now match the values of the breaks if the breaks are given. (#445)
Using print
to show a ggplot object will not show the hash (<ggplot: ...>
) anymore. There is now a difference between repr(p)
and str(p)
. (#453)
Changed scale_color_cmap
so the parameter cmap_name
refers to the name of the color palette and name
refers to the name of the scale. (#371)
aes
got an internal function reorder
which makes it easy to change the ordering of a discrete variable according to some other variable/column.
stat_smooth
can now use formulae for linear models.
Fixed bug where guide_colorbar
width and height could not be controlled by legend_key_width
and legend_key_height
. (#360)
You can now set the bandwidth parameter bw
of stat_ydensity
.
Parameters ha
and va
of geom_text
have been converted to aesthetics. You can now map to them. (#325)
The default mapping for the computed aesthetic size of stat_sum
has changed to 'stat(n)'
. This also changes the default plot for geom_count
.
geom_text
gained the adjust_text
parameter, and can now repel text.annotation_logticks
.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.
Fixed issue where minor_breaks
for tranformed scaled would have to be given in the transformed coordinates. Know they are given the data coordinates just like the major breaks
.
For all geoms, with coord_cartesian
float('inf')
or np.inf
are interpreted as the boundary of the plot panel.
Discrete scales now show missing data (None
and nan
). This behaviour is controlled by the new na_translate
option.
The scales
(when set to free, free_x or free_y) parameter of facet_grid
and facet_wrap
assigns the same scale across the rows and columns.
Added geom_qq_line
and stat_qq_line
, for lines through Q-Q plots.
Added geom_density_2d
and stat_density_2d
.
If the minor_breaks
parameter of scales is a callable, it now expects one argument, the limits
. Previously it accepted breaks
and limits
.
PlotnineAnimation
for animations.watermark
for watermarks.alpha
, colour
, fill
and size
aestheticsChanged parameter settings for stat_smooth
.
Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_line_x.html b/reference/axis_line_x.html
index f3cfdbc1f..3c34e562f 100644
--- a/reference/axis_line_x.html
+++ b/reference/axis_line_x.html
@@ -113,7 +113,7 @@
@@ -179,7 +179,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_line_y.html b/reference/axis_line_y.html
index c4e525d65..730cdfc11 100644
--- a/reference/axis_line_y.html
+++ b/reference/axis_line_y.html
@@ -113,7 +113,7 @@
@@ -179,7 +179,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_text.html b/reference/axis_text.html
index 035b4886a..4e5e4f156 100644
--- a/reference/axis_text.html
+++ b/reference/axis_text.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/axis_text_x.html b/reference/axis_text_x.html
index 91380e5d4..6bf916af6 100644
--- a/reference/axis_text_x.html
+++ b/reference/axis_text_x.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/axis_text_y.html b/reference/axis_text_y.html
index dadd1d450..3aa22fde7 100644
--- a/reference/axis_text_y.html
+++ b/reference/axis_text_y.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/axis_ticks.html b/reference/axis_ticks.html
index 5d0b3ffa2..42f1853fe 100644
--- a/reference/axis_ticks.html
+++ b/reference/axis_ticks.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_direction.html b/reference/axis_ticks_direction.html
index a68f3e981..92ddc9560 100644
--- a/reference/axis_ticks_direction.html
+++ b/reference/axis_ticks_direction.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_direction_x.html b/reference/axis_ticks_direction_x.html
index 9aedd7df8..9f8673c06 100644
--- a/reference/axis_ticks_direction_x.html
+++ b/reference/axis_ticks_direction_x.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_direction_y.html b/reference/axis_ticks_direction_y.html
index d28a8e514..4f322b350 100644
--- a/reference/axis_ticks_direction_y.html
+++ b/reference/axis_ticks_direction_y.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length.html b/reference/axis_ticks_length.html
index 478ee0b6e..7f470ffd0 100644
--- a/reference/axis_ticks_length.html
+++ b/reference/axis_ticks_length.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_major.html b/reference/axis_ticks_length_major.html
index 9834eceb4..b2af465ba 100644
--- a/reference/axis_ticks_length_major.html
+++ b/reference/axis_ticks_length_major.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_major_x.html b/reference/axis_ticks_length_major_x.html
index eacdc9dfa..b35ef2dce 100644
--- a/reference/axis_ticks_length_major_x.html
+++ b/reference/axis_ticks_length_major_x.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_major_y.html b/reference/axis_ticks_length_major_y.html
index 25a0c473c..8ed8c1e38 100644
--- a/reference/axis_ticks_length_major_y.html
+++ b/reference/axis_ticks_length_major_y.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_minor.html b/reference/axis_ticks_length_minor.html
index 09df19d0b..a3b3f5fd3 100644
--- a/reference/axis_ticks_length_minor.html
+++ b/reference/axis_ticks_length_minor.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_minor_x.html b/reference/axis_ticks_length_minor_x.html
index 13ebce4df..99e4133dc 100644
--- a/reference/axis_ticks_length_minor_x.html
+++ b/reference/axis_ticks_length_minor_x.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_length_minor_y.html b/reference/axis_ticks_length_minor_y.html
index 588a08aaf..0893a27dc 100644
--- a/reference/axis_ticks_length_minor_y.html
+++ b/reference/axis_ticks_length_minor_y.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_major.html b/reference/axis_ticks_major.html
index da36590be..08709283e 100644
--- a/reference/axis_ticks_major.html
+++ b/reference/axis_ticks_major.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_major_x.html b/reference/axis_ticks_major_x.html
index 80049bff9..c8deafe46 100644
--- a/reference/axis_ticks_major_x.html
+++ b/reference/axis_ticks_major_x.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_major_y.html b/reference/axis_ticks_major_y.html
index 4c9ec1ffe..e88847d1b 100644
--- a/reference/axis_ticks_major_y.html
+++ b/reference/axis_ticks_major_y.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_minor.html b/reference/axis_ticks_minor.html
index 5b0d22f73..0590f3b76 100644
--- a/reference/axis_ticks_minor.html
+++ b/reference/axis_ticks_minor.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_minor_x.html b/reference/axis_ticks_minor_x.html
index 4c578ca61..3759beb15 100644
--- a/reference/axis_ticks_minor_x.html
+++ b/reference/axis_ticks_minor_x.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_minor_y.html b/reference/axis_ticks_minor_y.html
index 0283cbfd0..78bfa1186 100644
--- a/reference/axis_ticks_minor_y.html
+++ b/reference/axis_ticks_minor_y.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_pad.html b/reference/axis_ticks_pad.html
index ba47b18aa..9d92579bf 100644
--- a/reference/axis_ticks_pad.html
+++ b/reference/axis_ticks_pad.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_major.html b/reference/axis_ticks_pad_major.html
index 29ebddaa2..060490610 100644
--- a/reference/axis_ticks_pad_major.html
+++ b/reference/axis_ticks_pad_major.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_major_x.html b/reference/axis_ticks_pad_major_x.html
index 461317ca0..359860328 100644
--- a/reference/axis_ticks_pad_major_x.html
+++ b/reference/axis_ticks_pad_major_x.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_major_y.html b/reference/axis_ticks_pad_major_y.html
index 41cd63333..82a892b11 100644
--- a/reference/axis_ticks_pad_major_y.html
+++ b/reference/axis_ticks_pad_major_y.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_minor.html b/reference/axis_ticks_pad_minor.html
index a6c2f36be..69cf461fa 100644
--- a/reference/axis_ticks_pad_minor.html
+++ b/reference/axis_ticks_pad_minor.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_minor_x.html b/reference/axis_ticks_pad_minor_x.html
index f75b86174..7e353f73d 100644
--- a/reference/axis_ticks_pad_minor_x.html
+++ b/reference/axis_ticks_pad_minor_x.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_pad_minor_y.html b/reference/axis_ticks_pad_minor_y.html
index 1ac722b68..dd67a794a 100644
--- a/reference/axis_ticks_pad_minor_y.html
+++ b/reference/axis_ticks_pad_minor_y.html
@@ -113,7 +113,7 @@
diff --git a/reference/axis_ticks_x.html b/reference/axis_ticks_x.html
index 9ab46da54..8c700ba99 100644
--- a/reference/axis_ticks_x.html
+++ b/reference/axis_ticks_x.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_ticks_y.html b/reference/axis_ticks_y.html
index 8241fa10b..b34a81f28 100644
--- a/reference/axis_ticks_y.html
+++ b/reference/axis_ticks_y.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_line
+theme_element : element_line
-
diff --git a/reference/axis_title.html b/reference/axis_title.html
index 244c18951..1421066db 100644
--- a/reference/axis_title.html
+++ b/reference/axis_title.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/axis_title_x.html b/reference/axis_title_x.html
index 2f1a47d96..65cdb8de3 100644
--- a/reference/axis_title_x.html
+++ b/reference/axis_title_x.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/axis_title_y.html b/reference/axis_title_y.html
index 187ad30fb..99d48ad33 100644
--- a/reference/axis_title_y.html
+++ b/reference/axis_title_y.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_text
+theme_element : element_text
-
diff --git a/reference/base_family.html b/reference/base_family.html
index 22e43b45e..fbb8e18a7 100644
--- a/reference/base_family.html
+++ b/reference/base_family.html
@@ -79,7 +79,7 @@
diff --git a/reference/base_margin.html b/reference/base_margin.html
index aef26ff05..e6c418004 100644
--- a/reference/base_margin.html
+++ b/reference/base_margin.html
@@ -79,7 +79,7 @@
diff --git a/reference/close_all_figures.html b/reference/close_all_figures.html
index 9cebf7dd8..701b99536 100644
--- a/reference/close_all_figures.html
+++ b/reference/close_all_figures.html
@@ -79,7 +79,7 @@
diff --git a/reference/coord.html b/reference/coord.html
index 1b601d024..1dbbbf696 100644
--- a/reference/coord.html
+++ b/reference/coord.html
@@ -113,7 +113,7 @@
diff --git a/reference/coord_cartesian.html b/reference/coord_cartesian.html
index e3287c1a7..d8ba35ad1 100644
--- a/reference/coord_cartesian.html
+++ b/reference/coord_cartesian.html
@@ -113,7 +113,7 @@
diff --git a/reference/coord_equal.html b/reference/coord_equal.html
index 0754b7ac1..a6ba2a5b0 100644
--- a/reference/coord_equal.html
+++ b/reference/coord_equal.html
@@ -113,7 +113,7 @@
diff --git a/reference/coord_fixed.html b/reference/coord_fixed.html
index 5c9f696af..0493b2f44 100644
--- a/reference/coord_fixed.html
+++ b/reference/coord_fixed.html
@@ -113,7 +113,7 @@
diff --git a/reference/coord_flip.html b/reference/coord_flip.html
index 1b6df12fa..3fde8745d 100644
--- a/reference/coord_flip.html
+++ b/reference/coord_flip.html
@@ -113,7 +113,7 @@
diff --git a/reference/coord_trans.html b/reference/coord_trans.html
index 67301143b..66a76e3fd 100644
--- a/reference/coord_trans.html
+++ b/reference/coord_trans.html
@@ -113,7 +113,7 @@
diff --git a/reference/current_theme.html b/reference/current_theme.html
index 6db614207..03f87ece5 100644
--- a/reference/current_theme.html
+++ b/reference/current_theme.html
@@ -79,7 +79,7 @@
diff --git a/reference/diamonds.html b/reference/diamonds.html
index fdd9880ac..cd497e076 100644
--- a/reference/diamonds.html
+++ b/reference/diamonds.html
@@ -79,7 +79,7 @@
diff --git a/reference/dpi.html b/reference/dpi.html
index 8ed9b5421..24373067b 100644
--- a/reference/dpi.html
+++ b/reference/dpi.html
@@ -79,7 +79,7 @@
diff --git a/reference/economics.html b/reference/economics.html
index c8e82fef1..5f5a6a861 100644
--- a/reference/economics.html
+++ b/reference/economics.html
@@ -79,7 +79,7 @@
diff --git a/reference/economics_long.html b/reference/economics_long.html
index cfeb31499..69eeca6e0 100644
--- a/reference/economics_long.html
+++ b/reference/economics_long.html
@@ -79,7 +79,7 @@
diff --git a/reference/element_blank.html b/reference/element_blank.html
index d3a5fbbab..2cf9e69cd 100644
--- a/reference/element_blank.html
+++ b/reference/element_blank.html
@@ -113,7 +113,7 @@
diff --git a/reference/element_line.html b/reference/element_line.html
index 7afc69ae8..a6488a498 100644
--- a/reference/element_line.html
+++ b/reference/element_line.html
@@ -113,7 +113,7 @@
diff --git a/reference/element_rect.html b/reference/element_rect.html
index 494fadca2..5b1d66377 100644
--- a/reference/element_rect.html
+++ b/reference/element_rect.html
@@ -113,7 +113,7 @@
diff --git a/reference/element_text.html b/reference/element_text.html
index cf3281a64..7a87419ba 100644
--- a/reference/element_text.html
+++ b/reference/element_text.html
@@ -113,7 +113,7 @@
diff --git a/reference/expand_limits.html b/reference/expand_limits.html
index 25b1a8631..1b6f1fed8 100644
--- a/reference/expand_limits.html
+++ b/reference/expand_limits.html
@@ -113,7 +113,7 @@
diff --git a/reference/facet.html b/reference/facet.html
index 53a11db9c..755f4457a 100644
--- a/reference/facet.html
+++ b/reference/facet.html
@@ -113,7 +113,7 @@
diff --git a/reference/facet_grid.html b/reference/facet_grid.html
index 3e1055237..9015b865a 100644
--- a/reference/facet_grid.html
+++ b/reference/facet_grid.html
@@ -113,7 +113,7 @@
diff --git a/reference/facet_null.html b/reference/facet_null.html
index d66dc0bf4..5cf593f14 100644
--- a/reference/facet_null.html
+++ b/reference/facet_null.html
@@ -113,7 +113,7 @@
diff --git a/reference/facet_wrap.html b/reference/facet_wrap.html
index e9f3382cc..11ba6d753 100644
--- a/reference/facet_wrap.html
+++ b/reference/facet_wrap.html
@@ -113,7 +113,7 @@
diff --git a/reference/faithful.html b/reference/faithful.html
index aeced3a18..fa3923533 100644
--- a/reference/faithful.html
+++ b/reference/faithful.html
@@ -79,7 +79,7 @@
diff --git a/reference/faithfuld.html b/reference/faithfuld.html
index 05b9e8109..c43ccbcff 100644
--- a/reference/faithfuld.html
+++ b/reference/faithfuld.html
@@ -79,7 +79,7 @@
diff --git a/reference/figure_format.html b/reference/figure_format.html
index 6e24eabb8..ae99470a5 100644
--- a/reference/figure_format.html
+++ b/reference/figure_format.html
@@ -79,7 +79,7 @@
diff --git a/reference/figure_size.html b/reference/figure_size.html
index eec4e1975..2aaeb6105 100644
--- a/reference/figure_size.html
+++ b/reference/figure_size.html
@@ -79,7 +79,7 @@
diff --git a/reference/geom.html b/reference/geom.html
index f3d282f6b..056febe74 100644
--- a/reference/geom.html
+++ b/reference/geom.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_abline.html b/reference/geom_abline.html
index 1ef114c74..1642b8806 100644
--- a/reference/geom_abline.html
+++ b/reference/geom_abline.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_area.html b/reference/geom_area.html
index 76dd5b290..c6860b1d5 100644
--- a/reference/geom_area.html
+++ b/reference/geom_area.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_bar.html b/reference/geom_bar.html
index 9f2f8c351..77f265292 100644
--- a/reference/geom_bar.html
+++ b/reference/geom_bar.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_bin_2d.html b/reference/geom_bin_2d.html
index 2832692d4..b5a9d8aec 100644
--- a/reference/geom_bin_2d.html
+++ b/reference/geom_bin_2d.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_blank.html b/reference/geom_blank.html
index 79410b459..ae0c96686 100644
--- a/reference/geom_blank.html
+++ b/reference/geom_blank.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_boxplot.html b/reference/geom_boxplot.html
index bc2ab162d..d5f0e3151 100644
--- a/reference/geom_boxplot.html
+++ b/reference/geom_boxplot.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_col.html b/reference/geom_col.html
index c5f3094f2..49fd6fdd2 100644
--- a/reference/geom_col.html
+++ b/reference/geom_col.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_count.html b/reference/geom_count.html
index cccce5982..5e1caadfd 100644
--- a/reference/geom_count.html
+++ b/reference/geom_count.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_crossbar.html b/reference/geom_crossbar.html
index 12c116755..4eef33377 100644
--- a/reference/geom_crossbar.html
+++ b/reference/geom_crossbar.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_density.html b/reference/geom_density.html
index da393e180..b790a4d72 100644
--- a/reference/geom_density.html
+++ b/reference/geom_density.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_density_2d.html b/reference/geom_density_2d.html
index 62d7a5815..89387ebc5 100644
--- a/reference/geom_density_2d.html
+++ b/reference/geom_density_2d.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_dotplot.html b/reference/geom_dotplot.html
index b4ea74dec..c260d8132 100644
--- a/reference/geom_dotplot.html
+++ b/reference/geom_dotplot.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_errorbar.html b/reference/geom_errorbar.html
index d991d0d54..98a043647 100644
--- a/reference/geom_errorbar.html
+++ b/reference/geom_errorbar.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_errorbarh.html b/reference/geom_errorbarh.html
index b81727e9a..430f347ab 100644
--- a/reference/geom_errorbarh.html
+++ b/reference/geom_errorbarh.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_freqpoly.html b/reference/geom_freqpoly.html
index 824a4b9cd..59ff05dba 100644
--- a/reference/geom_freqpoly.html
+++ b/reference/geom_freqpoly.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_histogram.html b/reference/geom_histogram.html
index ef6b35763..c42549675 100644
--- a/reference/geom_histogram.html
+++ b/reference/geom_histogram.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_hline.html b/reference/geom_hline.html
index b0e3d27de..0fd74963b 100644
--- a/reference/geom_hline.html
+++ b/reference/geom_hline.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_jitter.html b/reference/geom_jitter.html
index a38ae5966..56543e638 100644
--- a/reference/geom_jitter.html
+++ b/reference/geom_jitter.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_label.html b/reference/geom_label.html
index 900f89fb8..fdb83adee 100644
--- a/reference/geom_label.html
+++ b/reference/geom_label.html
@@ -113,7 +113,7 @@
@@ -167,147 +167,16 @@
-geom_label(
- mapping=None,
- data=None,
- *,
- stat="identity",
- position="identity",
- na_rm=False,
- inherit_aes=True,
- show_legend=None,
- raster=False,
- parse=False,
- family=None,
- fontweight="normal",
- fontstyle="normal",
- nudge_x=0,
- nudge_y=0,
- adjust_text=None,
- format_string=None,
- path_effects=None,
- boxstyle="round",
- boxcolor=None,
- label_padding=0.25,
- label_r=0.25,
- label_size=0.7,
- tooth_size=None,
- **kwargs
-)
+
Textual annotations with a background
+{usage}
Parameters
-mapping : aes = None
--
-
Aesthetic mappings created with aes. If specified and inherit_aes=True
, it is combined with the default mapping for the plot. You must supply mapping if there is no plot mapping.
-
-
-
-
-
-
-
-Aesthetic
-Default value
-
-
-
-
-label
-
-
-
-x
-
-
-
-y
-
-
-
-alpha
-1
-
-
-angle
-0
-
-
-color
-'black'
-
-
-fill
-'white'
-
-
-group
-
-
-
-ha
-'center'
-
-
-lineheight
-1.2
-
-
-size
-11
-
-
-va
-'center'
-
-
-
-The bold aesthetics are required.
-Aesthetics Descriptions
-
-ha
--
-
Horizontal alignment. One of left, center or right.
-
-va
--
-
Vertical alignment. One of top, center, bottom, baseline.
-
-
-
-data : DataFrame = None
--
-
The data to be displayed in this layer. If None
, the data from from the ggplot()
call is used. If specified, it overrides the data from the ggplot()
call.
-
-stat : str | stat = "identity"
--
-
The statistical transformation to use on the data for this layer. If it is a string, it must be the registered and known to Plotnine.
-
-position : str | position = "identity"
--
-
Position adjustment. If it is a string, it must be registered and known to Plotnine.
-
-na_rm : bool = False
--
-
If False
, removes missing values with a warning. If True
silently removes missing values.
-
-inherit_aes : bool = True
--
-
If False
, overrides the default aesthetics.
-
-show_legend : bool | dict = None
--
-
Whether this layer should be included in the legends. None
the default, includes any aesthetics that are mapped. If a bool
, False
never includes and True
always includes. A dict
can be used to exclude specific aesthetis of the layer from showing in the legend. e.g show_legend={'color': False}
, any other aesthetic are included by default.
-
-raster : bool = False
--
-
If True
, draw onto this layer a raster (bitmap) object even ifthe final image is in vector format.
-
boxstyle : str = "round"
-
Options are:
@@ -341,10 +210,6 @@ Parameters
-
Size of the roundtooth
or sawtooth
if they are the chosen boxstyle. The default depends on Matplotlib
- **kwargs : Any = {}
--
-
Aesthetics or parameters used by the stat
.
-
diff --git a/reference/geom_line.html b/reference/geom_line.html
index 4ebe076d2..600187c0a 100644
--- a/reference/geom_line.html
+++ b/reference/geom_line.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_linerange.html b/reference/geom_linerange.html
index 5e1beb6d4..c64c927db 100644
--- a/reference/geom_linerange.html
+++ b/reference/geom_linerange.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_map.html b/reference/geom_map.html
index 395fafd28..4191eabc0 100644
--- a/reference/geom_map.html
+++ b/reference/geom_map.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_path.html b/reference/geom_path.html
index bbd38834b..64df254aa 100644
--- a/reference/geom_path.html
+++ b/reference/geom_path.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_point.html b/reference/geom_point.html
index 0a7a34a97..f7fe86582 100644
--- a/reference/geom_point.html
+++ b/reference/geom_point.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_pointdensity.html b/reference/geom_pointdensity.html
index 7ec63f940..14ac2735a 100644
--- a/reference/geom_pointdensity.html
+++ b/reference/geom_pointdensity.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_pointrange.html b/reference/geom_pointrange.html
index 6da5cf8c3..2873206c5 100644
--- a/reference/geom_pointrange.html
+++ b/reference/geom_pointrange.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_polygon.html b/reference/geom_polygon.html
index 860a27679..a9181d18d 100644
--- a/reference/geom_polygon.html
+++ b/reference/geom_polygon.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_qq.html b/reference/geom_qq.html
index 15c966fd3..1ee12e985 100644
--- a/reference/geom_qq.html
+++ b/reference/geom_qq.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_qq_line.html b/reference/geom_qq_line.html
index be465a5c2..2ad0ff876 100644
--- a/reference/geom_qq_line.html
+++ b/reference/geom_qq_line.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_quantile.html b/reference/geom_quantile.html
index d25f50c3a..e617c005c 100644
--- a/reference/geom_quantile.html
+++ b/reference/geom_quantile.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_raster.html b/reference/geom_raster.html
index b99c2d39b..4c35bfed6 100644
--- a/reference/geom_raster.html
+++ b/reference/geom_raster.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_rect.html b/reference/geom_rect.html
index 11a075b82..a7d8e47ea 100644
--- a/reference/geom_rect.html
+++ b/reference/geom_rect.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_ribbon.html b/reference/geom_ribbon.html
index 5b5c13c78..21d85852e 100644
--- a/reference/geom_ribbon.html
+++ b/reference/geom_ribbon.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_rug.html b/reference/geom_rug.html
index db32e4507..eceb1b0a7 100644
--- a/reference/geom_rug.html
+++ b/reference/geom_rug.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_segment.html b/reference/geom_segment.html
index 8c96d5992..5180ae18c 100644
--- a/reference/geom_segment.html
+++ b/reference/geom_segment.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_sina.html b/reference/geom_sina.html
index 5d9f46bdd..a0f47c742 100644
--- a/reference/geom_sina.html
+++ b/reference/geom_sina.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_smooth.html b/reference/geom_smooth.html
index 58c0401f8..7713aa8b7 100644
--- a/reference/geom_smooth.html
+++ b/reference/geom_smooth.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_spoke.html b/reference/geom_spoke.html
index efedb4d7d..5ca6e36ce 100644
--- a/reference/geom_spoke.html
+++ b/reference/geom_spoke.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_step.html b/reference/geom_step.html
index cc91f86cf..739bb4bf6 100644
--- a/reference/geom_step.html
+++ b/reference/geom_step.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_text.html b/reference/geom_text.html
index 418acaaa9..5ccf2b53d 100644
--- a/reference/geom_text.html
+++ b/reference/geom_text.html
@@ -113,7 +113,7 @@
@@ -167,153 +167,20 @@
-geom_text(
- mapping=None,
- data=None,
- *,
- stat="identity",
- position="identity",
- na_rm=False,
- inherit_aes=True,
- show_legend=None,
- raster=False,
- parse=False,
- family=None,
- fontweight="normal",
- fontstyle="normal",
- nudge_x=0,
- nudge_y=0,
- adjust_text=None,
- format_string=None,
- path_effects=None,
- **kwargs
-)
+
Textual annotations
+{usage}
Parameters
-mapping : aes = None
--
-
Aesthetic mappings created with aes. If specified and inherit_aes=True
, it is combined with the default mapping for the plot. You must supply mapping if there is no plot mapping.
-
-
-
-
-
-
-
-Aesthetic
-Default value
-
-
-
-
-label
-
-
-
-x
-
-
-
-y
-
-
-
-alpha
-1
-
-
-angle
-0
-
-
-color
-'black'
-
-
-group
-
-
-
-ha
-'center'
-
-
-lineheight
-1.2
-
-
-size
-11
-
-
-va
-'center'
-
-
-
-The bold aesthetics are required.
-Aesthetics Descriptions
-
-ha
--
-
Horizontal alignment. One of left, center or right.
-
-va
--
-
Vertical alignment. One of top, center, bottom, baseline.
-
-
-
-data : DataFrame = None
--
-
The data to be displayed in this layer. If None
, the data from from the ggplot()
call is used. If specified, it overrides the data from the ggplot()
call.
-
-stat : str | stat = "identity"
--
-
The statistical transformation to use on the data for this layer. If it is a string, it must be the registered and known to Plotnine.
-
-position : str | position = "identity"
--
-
Position adjustment. If it is a string, it must be registered and known to Plotnine.
-
-na_rm : bool = False
--
-
If False
, removes missing values with a warning. If True
silently removes missing values.
-
-inherit_aes : bool = True
--
-
If False
, overrides the default aesthetics.
-
-show_legend : bool | dict = None
--
-
Whether this layer should be included in the legends. None
the default, includes any aesthetics that are mapped. If a bool
, False
never includes and True
always includes. A dict
can be used to exclude specific aesthetis of the layer from showing in the legend. e.g show_legend={'color': False}
, any other aesthetic are included by default.
-
-raster : bool = False
--
-
If True
, draw onto this layer a raster (bitmap) object even ifthe final image is in vector format.
-
parse : bool = False
-
If True
, the labels will be rendered with latex.
-family : str = None
--
-
Font family.
-
-fontweight : int | str = "normal"
--
-
Font weight.
-
-fontstyle : Literal["normal", "italic", "oblique"] = "normal"
--
-
Font style.
-
nudge_x : float = 0
-
Horizontal adjustment to apply to the text
@@ -336,10 +203,6 @@ Parameters
-
If not None
, then the text will use these effects. See documentation for more details.
- **kwargs : Any = {}
--
-
Aesthetics or parameters used by the stat
.
-
diff --git a/reference/geom_tile.html b/reference/geom_tile.html
index bd26caace..02d1c99b3 100644
--- a/reference/geom_tile.html
+++ b/reference/geom_tile.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_violin.html b/reference/geom_violin.html
index 2bc918f77..eaa96aeaa 100644
--- a/reference/geom_violin.html
+++ b/reference/geom_violin.html
@@ -113,7 +113,7 @@
diff --git a/reference/geom_vline.html b/reference/geom_vline.html
index ada399f16..b59fc5318 100644
--- a/reference/geom_vline.html
+++ b/reference/geom_vline.html
@@ -113,7 +113,7 @@
diff --git a/reference/get_option.html b/reference/get_option.html
index 09101e82c..cab29c61f 100644
--- a/reference/get_option.html
+++ b/reference/get_option.html
@@ -113,7 +113,7 @@
diff --git a/reference/ggplot.html b/reference/ggplot.html
index da45798a4..c4703e994 100644
--- a/reference/ggplot.html
+++ b/reference/ggplot.html
@@ -113,7 +113,7 @@
diff --git a/reference/ggtitle.html b/reference/ggtitle.html
index 3f5e1e447..200334e09 100644
--- a/reference/ggtitle.html
+++ b/reference/ggtitle.html
@@ -113,7 +113,7 @@
diff --git a/reference/guide.html b/reference/guide.html
index f4439d23e..bccf5a48d 100644
--- a/reference/guide.html
+++ b/reference/guide.html
@@ -113,7 +113,7 @@
diff --git a/reference/guide_colorbar.html b/reference/guide_colorbar.html
index 1de7d85a5..6df09761c 100644
--- a/reference/guide_colorbar.html
+++ b/reference/guide_colorbar.html
@@ -113,7 +113,7 @@
diff --git a/reference/guide_legend.html b/reference/guide_legend.html
index 95bc10348..da0f8ee6a 100644
--- a/reference/guide_legend.html
+++ b/reference/guide_legend.html
@@ -113,7 +113,7 @@
diff --git a/reference/guides.html b/reference/guides.html
index 483e3a6f9..9724ca5a6 100644
--- a/reference/guides.html
+++ b/reference/guides.html
@@ -113,7 +113,7 @@
diff --git a/reference/huron.html b/reference/huron.html
index cd7fa9810..566a08ee6 100644
--- a/reference/huron.html
+++ b/reference/huron.html
@@ -79,7 +79,7 @@
diff --git a/reference/index.html b/reference/index.html
index ba7798a37..eb72c4dac 100644
--- a/reference/index.html
+++ b/reference/index.html
@@ -79,7 +79,7 @@
diff --git a/reference/label_both.html b/reference/label_both.html
index d65eb0c39..aa2ec496e 100644
--- a/reference/label_both.html
+++ b/reference/label_both.html
@@ -113,7 +113,7 @@
diff --git a/reference/label_context.html b/reference/label_context.html
index 4ae97aebe..61987fa0b 100644
--- a/reference/label_context.html
+++ b/reference/label_context.html
@@ -113,7 +113,7 @@
diff --git a/reference/label_value.html b/reference/label_value.html
index 99c1785c6..16e6792b7 100644
--- a/reference/label_value.html
+++ b/reference/label_value.html
@@ -113,7 +113,7 @@
diff --git a/reference/labeller.html b/reference/labeller.html
index 66d96ee07..b9825dead 100644
--- a/reference/labeller.html
+++ b/reference/labeller.html
@@ -113,7 +113,7 @@
diff --git a/reference/labs.html b/reference/labs.html
index f80b5c9f6..918535dac 100644
--- a/reference/labs.html
+++ b/reference/labs.html
@@ -113,7 +113,7 @@
diff --git a/reference/layer.html b/reference/layer.html
index bc23a1eeb..c66af5f70 100644
--- a/reference/layer.html
+++ b/reference/layer.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_background.html b/reference/legend_background.html
index f84b5b1f5..7e12ccc86 100644
--- a/reference/legend_background.html
+++ b/reference/legend_background.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_rect
+theme_element : element_rect
-
diff --git a/reference/legend_box.html b/reference/legend_box.html
index 5079f1b9e..25cae9891 100644
--- a/reference/legend_box.html
+++ b/reference/legend_box.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_box_background.html b/reference/legend_box_background.html
index ea73ba062..aefa2cf3a 100644
--- a/reference/legend_box_background.html
+++ b/reference/legend_box_background.html
@@ -113,7 +113,7 @@
@@ -176,7 +176,7 @@ Parameters
-theme_element : element_rect
+theme_element : element_rect
-
diff --git a/reference/legend_box_just.html b/reference/legend_box_just.html
index 34548eb3a..beef20ef4 100644
--- a/reference/legend_box_just.html
+++ b/reference/legend_box_just.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_box_margin.html b/reference/legend_box_margin.html
index aee5e2f8f..6e16047ae 100644
--- a/reference/legend_box_margin.html
+++ b/reference/legend_box_margin.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_box_spacing.html b/reference/legend_box_spacing.html
index 00aa0defb..ef5f4985d 100644
--- a/reference/legend_box_spacing.html
+++ b/reference/legend_box_spacing.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_direction.html b/reference/legend_direction.html
index edfd5827d..e5df7a5f2 100644
--- a/reference/legend_direction.html
+++ b/reference/legend_direction.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_frame.html b/reference/legend_frame.html
index fc7d67b54..986231cff 100644
--- a/reference/legend_frame.html
+++ b/reference/legend_frame.html
@@ -113,7 +113,7 @@
@@ -175,7 +175,7 @@ Parameters
-theme_element : element_rect
+theme_element : element_rect
-
diff --git a/reference/legend_justification.html b/reference/legend_justification.html
index 27e7ab10e..69ec403a9 100644
--- a/reference/legend_justification.html
+++ b/reference/legend_justification.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_justification_bottom.html b/reference/legend_justification_bottom.html
index fa2b3e335..6c84a9d7f 100644
--- a/reference/legend_justification_bottom.html
+++ b/reference/legend_justification_bottom.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_justification_inside.html b/reference/legend_justification_inside.html
index c739712a2..8ebe42dde 100644
--- a/reference/legend_justification_inside.html
+++ b/reference/legend_justification_inside.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_justification_left.html b/reference/legend_justification_left.html
index 26484daa5..2b225bece 100644
--- a/reference/legend_justification_left.html
+++ b/reference/legend_justification_left.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_justification_right.html b/reference/legend_justification_right.html
index fbfd94f0a..c2cbe6ad5 100644
--- a/reference/legend_justification_right.html
+++ b/reference/legend_justification_right.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_justification_top.html b/reference/legend_justification_top.html
index 7014ee7aa..922702306 100644
--- a/reference/legend_justification_top.html
+++ b/reference/legend_justification_top.html
@@ -113,7 +113,7 @@
diff --git a/reference/legend_key.html b/reference/legend_key.html
index cb1d3b61b..90f78da79 100644
--- a/reference/legend_key.html
+++ b/reference/legend_key.html
@@ -113,7 +113,7 @@