@@ -58,37 +58,56 @@ Also read:
5858- [ Scientific mode in PyCharm] ( https://www.jetbrains.com/help/pycharm/matplotlib-support.html )
5959- [ Scientific mode in IntelliJ IDEA] ( https://www.jetbrains.com/help/idea/matplotlib-support.html )
6060
61- ## What is new in 3.2 .0
61+ ## What is new in 4.0 .0
6262
63- ### Aesthetics ` stroke ` and ` linewidth `
64- <br >
65- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23b/images/stroke.png " alt =" f-23b/images/stroke.png " width =" 336 " height =" 150 " >
66-
67- See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23b/aes_stroke.ipynb ) .
68-
69- See also ` geom_lollipop() ` example below.
63+ The major version was bumped to 4 due to a major package refactoring that the project has undergone.\
64+ This refactoring doesn't affect the Python API, however, as a result of package names changed,\
65+ Lets-Plot v4.0.0 is partially incompatible with Lets-Plot Kotlin API versions 4.4.1 and earlier.
66+
67+ ### A Number of Geometry Defaults Changed
7068
69+ - The default qualitative color palette is now [ Color Brewer "Set1"] ( https://colorbrewer2.org/#type=qualitative&scheme=Set1&n=9 ) (was [ "Set2"] ( https://colorbrewer2.org/#type=qualitative&scheme=Set2&n=8 ) ).
70+ - Slightly bigger default size of points and width of lines.
71+ - Flavor-aware default colors for points, lines etc.
72+ <br >
73+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/geom_defaults.png " alt =" f-23c/images/geom_defaults.png " width =" 504 " height =" 150 " >
74+ <br >
75+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/flavor_geom_colors.png " alt =" f-23c/images/flavor_geom_colors.png " width =" 1024 " height =" 120 " >
7176
72- ### Lollipop Plot
77+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_theme_colors.ipynb ) .
78+
79+ - Size of points is slightly adjusted to match the width of a line of the same "size".
80+ <br >
81+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/point_vs_line.png " alt =" f-23c/images/point_vs_line.png " width =" 170 " height =" 150 " >
7382 <br >
74- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23b/images/lollipop.png " alt =" f-23b/images/lollipop.png " width =" 600 " height =" 200 " >
7583
76- See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23b/geom_lollipop.ipynb ) .
84+ ### Support for Variadic Line Width and/or Color in ` geom_line() ` and ` geom_path() `
85+ <br >
86+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/variadic_width.png " alt =" f-23c/images/variadic_width.png " width =" 455 " height =" 150 " >
7787
88+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/aes_size_color_variadic_lines.ipynb ) .
89+
90+ ### Parameter ` "size_unit" ` in ` geom_pie() `
91+ A way to specify size of the pie in units relative to the plot size.
7892
79- ### Horizontal error bars and vertical "dodge"
93+ See: [ example notebook ] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_size_unit.ipynb ) .
8094
81- See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23b/horizontal_error_bars.ipynb ) .
95+ ### Stroke and Spacers in ` geom_pie() `
96+ <br >
97+ <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23c/images/pie_stroke.png " alt =" f-23c/images/pie_stroke.png " width =" 162 " height =" 150 " >
8298
99+ See: [ example notebook] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_pie_stroke_and_spacers.ipynb ) .
83100
84- ### Multi-line Labels in Legends
85101
86- See: [ example notebook ] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23b/legend_text_multiline.ipynb ) .
102+ ### New ` theme_void() ` , Geometries and Statistics
87103
88-
89- ### Colorbar in ` geom_imshow() `
90- <br >
91- <img src =" https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-23b/images/imshow_legend.png " alt =" f-23b/images/imshow_legend.png " width =" 514 " height =" 400 " >
104+ - ` theme_void() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/theme_void.ipynb ) .
105+ - ` geom_function() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/geom_function.ipynb ) .
106+ - ` stat_ecdf() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_ecdf.ipynb ) .
107+ - ` stat_summary() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary.ipynb ) .
108+ - ` stat_summary_bin() ` : [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_summary_bin.ipynb ) .
109+ - ` "sum" ` statistic: [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_sum.ipynb ) .
110+ - ` "boxplot_outlier" ` statistic: [ example] ( https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23c/stat_boxplot_outlier.ipynb ) .
92111
93112
94113## Change Log
0 commit comments