lets-plot 4.3.2__cp311-cp311-win_amd64.whl → 4.3.3__cp311-cp311-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lets-plot might be problematic. Click here for more details.

lets_plot/plot/core.py CHANGED
@@ -499,8 +499,7 @@ class PlotSpec(FeatureSpec):
499
499
 
500
500
  Examples
501
501
  --------
502
- ..
503
- jupyter-execute::
502
+ .. jupyter-execute::
504
503
  :linenos:
505
504
  :emphasize-lines: 9
506
505
 
@@ -541,8 +540,7 @@ class PlotSpec(FeatureSpec):
541
540
 
542
541
  Examples
543
542
  --------
544
- ..
545
- jupyter-execute::
543
+ .. jupyter-execute::
546
544
  :linenos:
547
545
  :emphasize-lines: 8
548
546
 
lets_plot/plot/geom.py CHANGED
@@ -110,6 +110,7 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
110
110
  - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
111
111
  - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
112
112
  - shape : shape of the point, an integer from 0 to 25.
113
+ - angle : rotation angle of the point shape, in degrees.
113
114
  - size : size of the point.
114
115
  - stroke : width of the shape border. Applied only to the shapes having border.
115
116
 
@@ -6597,7 +6598,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
6597
6598
  - x : x-axis value.
6598
6599
  - y : y-axis value.
6599
6600
  - slice : values associated to pie sectors.
6600
- - explode : values to explode slices away from their center point, detaching it from the main pie.
6601
+ - explode : values to explode slices away from their center point, detaching it from the main pie. Accept values between 0 and 1.
6601
6602
  - size : pie diameter.
6602
6603
  - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6603
6604
  - alpha : transparency level of the pie. Accept values between 0 and 1.
@@ -50,9 +50,14 @@ def geom_livemap(*,
50
50
  'epsg4326' for Equirectangular projection. `projection` only works
51
51
  with vector map tiles (i.e. Lets-Plot map tiles).
52
52
  tiles : str
53
- Tiles provider, either as a string - URL for a standard raster ZXY tile provider
54
- with {z}, {x} and {y} wildcards (e.g. 'http://my.tile.com/{z}/{x}/{y}.png')
55
- or the result of a call to a `maptiles_xxx()` functions.
53
+ Tile provider:
54
+
55
+ - pass a predefined constant from the `tilesets` module (Lets-Plot's vector tiles, e.g. `LETS_PLOT_COLOR`, or external raster tiles, e.g. `OPEN_TOPO_MAP`);
56
+ - pass a URL for a standard raster ZXY tile provider with {z}, {x} and {y} wildcards (e.g. 'http://my.tile.com/{z}/{x}/{y}.png') if the required tileset not present in the module;
57
+ - pass the result of a call to a `maptiles_zxy()` function if further customisation is required (e.g. attribution or zoom).
58
+
59
+ More information about tiles can be found here:
60
+ https://lets-plot.org/python/pages/basemap_tiles.html
56
61
  show_coord_pick_tools : bool, default=False
57
62
  Show buttons "copy location" and "draw geometry".
58
63
  data_size_zoomin : int, default=0
@@ -95,9 +100,10 @@ def geom_livemap(*,
95
100
 
96
101
  .. jupyter-execute::
97
102
  :linenos:
98
- :emphasize-lines: 9
103
+ :emphasize-lines: 10
99
104
 
100
105
  from lets_plot import *
106
+ from lets_plot import tilesets
101
107
  LetsPlot.setup_html()
102
108
  data = {
103
109
  'city': ['New York City', 'Prague'],
@@ -105,7 +111,7 @@ def geom_livemap(*,
105
111
  'lat': [40.6408, 50.073658],
106
112
  }
107
113
  ggplot(data, aes(x='lon', y='lat')) + \\
108
- geom_livemap(projection='epsg4326', tiles=maptiles_lets_plot(theme='dark')) + \\
114
+ geom_livemap(projection='epsg4326', tiles=tilesets.LETS_PLOT_DARK) + \\
109
115
  geom_path(color='white', geodesic=True) + \\
110
116
  geom_point(color='white', tooltips=layer_tooltips().line('@city')) + \\
111
117
  ggtitle("The shortest path between New York and Prague")
@@ -1,192 +1,191 @@
1
- Metadata-Version: 2.1
2
- Name: lets-plot
3
- Version: 4.3.2
4
- Summary: An open source library for statistical plotting
5
- Home-page: https://lets-plot.org
6
- Author: JetBrains
7
- Author-email: lets-plot@jetbrains.com
8
- Maintainer: JetBrains
9
- Maintainer-email: lets-plot@jetbrains.com
10
- License: MIT
11
- Project-URL: Github, https://github.com/JetBrains/lets-plot
12
- Project-URL: Documentation, https://lets-plot.org
13
- Keywords: ggplot,ggplot2,geospatial,geopandas,geocoding
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Development Status :: 5 - Production/Stable
16
- Classifier: Programming Language :: Python :: 3.7
17
- Classifier: Programming Language :: Python :: 3.8
18
- Classifier: Programming Language :: Python :: 3.9
19
- Classifier: Programming Language :: Python :: 3.10
20
- Classifier: Programming Language :: Python :: 3.11
21
- Classifier: Programming Language :: Python :: 3.12
22
- Classifier: Framework :: IPython
23
- Classifier: Framework :: Jupyter
24
- Classifier: Operating System :: MacOS
25
- Classifier: Operating System :: POSIX :: Linux
26
- Classifier: Operating System :: Microsoft :: Windows
27
- Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Topic :: Scientific/Engineering :: Visualization
29
- Classifier: Intended Audience :: Science/Research
30
- Classifier: Intended Audience :: Developers
31
- Description-Content-Type: text/markdown
32
- License-File: ../LICENSE
33
- Requires-Dist: pypng
34
- Requires-Dist: palettable
35
-
36
- # Lets-Plot
37
-
38
- [![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
39
- [![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://raw.githubusercontent.com/JetBrains/lets-plot-kotlin/master/LICENSE)
40
- [![Latest Release](https://img.shields.io/github/v/release/JetBrains/lets-plot)](https://github.com/JetBrains/lets-plot-kotlin/releases/latest)
41
-
42
-
43
- **Lets-Plot** is a multiplatform plotting library built on the principles of the Grammar of Graphics.
44
-
45
- The library' design is heavily influenced by Leland Wilkinson work [The Grammar of Graphics](https://www.goodreads.com/book/show/2549408.The_Grammar_of_Graphics) describing the deep features that underlie all statistical graphics.
46
-
47
- > This grammar [...] is made up of a set of independent components that can be composed in many different ways. This makes [it] very powerful because you are not limited to a set of pre-specified graphics, but you can create new graphics that are precisely tailored for your problem.
48
- > - Hadley Wickham, "[ggplot2: Elegant Graphics for Data Analysis](https://ggplot2-book.org/index.html)"
49
-
50
-
51
- ## Grammar of Graphics for Python [![Latest Release](https://badge.fury.io/py/lets-plot.svg)](https://pypi.org/project/lets-plot)
52
-
53
- A bridge between R (ggplot2) and Python data visualization. \
54
- To learn more see the documentation site at **[lets-plot.org](https://lets-plot.org)**.
55
-
56
-
57
- ## Grammar of Graphics for Kotlin [![Latest Release](https://img.shields.io/github/v/release/JetBrains/lets-plot-kotlin)](https://github.com/JetBrains/lets-plot-kotlin/releases/latest)
58
-
59
- ### Notebooks
60
- Create plots in [Kotlin Notebook](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
61
- [Datalore](https://datalore.jetbrains.com/report/static/HZqq77cegYd.E7get_WnChZ/aTA9lQnPkRwdCzT6uy95GZ), [Jupyter with Kotlin Kernel](https://github.com/Kotlin/kotlin-jupyter#readme) \
62
- or any other notebook that supports `Kotlin Kernel`. \
63
- To learn more see the **[Lets-Plot Kotlin API](https://github.com/JetBrains/lets-plot-kotlin)** project at GitHub.
64
-
65
- ### Compose Multiplatform
66
- Embed Lets-Plot charts in [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform) applications. \
67
- To learn more see the **[Lets-Plot Skia Frontend](https://github.com/JetBrains/lets-plot-skia)** project at GitHub.
68
-
69
- ### JVM and Kotlin/JS
70
- Embed Lets-Plot charts in JVM (Swing, JavaFX) and Kotlin/JS applications. <br>
71
- To learn more see the **[Lets-Plot Kotlin API](https://github.com/JetBrains/lets-plot-kotlin)** project at GitHub.
72
-
73
- ## "Lets-Plot in SciView" plugin
74
-
75
- [![JetBrains Plugins](https://img.shields.io/jetbrains/plugin/v/14379-lets-plot-in-sciview.svg)](http://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview)
76
- [![JetBrains plugins](https://img.shields.io/jetbrains/plugin/d/14379-lets-plot-in-sciview.svg)](http://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview)
77
-
78
- *Scientific mode* in PyCharm and in IntelliJ IDEA provides support for interactive scientific computing and data visualization.
79
-
80
- [*Lets-Plot in SciView*](https://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview) plugin adds
81
- support for interactive plotting to IntelliJ-based IDEs with the *Scientific mode* enabled.
82
-
83
- >
84
- > **Note:** The *Scientific mode* is NOT available in communinty editions of JetBrains IDEs.
85
- >
86
-
87
- Also read:
88
-
89
- - [Scientific mode in PyCharm](https://www.jetbrains.com/help/pycharm/matplotlib-support.html)
90
- - [Scientific mode in IntelliJ IDEA](https://www.jetbrains.com/help/idea/matplotlib-support.html)
91
-
92
- ## What is new in 4.3.0
93
-
94
- - #### `coord_polar()`
95
-
96
- The polar coordinate system is most commonly used for pie charts, but</br>
97
- it can also be used for constructing **Spider or Radar charts** using the `flat` option.
98
-
99
- <br>
100
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/polar_coord_pie.png" alt="f-24a/images/polar_coord_pie.png" width="256" height="214">
101
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/radar_chart.png" alt="f-24a/images/radar_chart.png" width="256" height="196">
102
-
103
- See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/coord_polar.ipynb).
104
-
105
- - #### In the `theme()`:
106
-
107
- - `panel_inset` parameter - primarily used for plots with polar coordinates.
108
-
109
- See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/theme_panel_inset.ipynb).
110
-
111
- - `panel_border_ontop` parameter - enables the drawing of panel border on top of the plot geoms.
112
- - `panel_grid_ontop, panel_grid_ontop_x, panel_grid_ontop_y` parameters - enable the drawing of grid lines on top of the plot geoms.
113
-
114
- - #### `geom_curve()`
115
-
116
- <br>
117
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/curve_annotation.png" alt="f-24a/images/curve_annotation.png" width="338" height="296">
118
-
119
- See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_curve.ipynb).
120
-
121
- - #### [**UNIQUE**] Visualizing Graph-like Data with `geom_segment()` and `geom_curve()`
122
-
123
- - Aesthetics `size_start, size_end, stroke_start` and `stroke_end` enable better alignment of</br>
124
- segments/curves with nodes of the graph by considering the size of the nodes.
125
-
126
- - The `spacer` parameter allows for additional manual fine-tuning.
127
-
128
- <br>
129
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/graph_simple.png" alt="f-24a/images/graph_simple.png" width="256" height="168">
130
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/graph_on_map.png" alt="f-24a/images/graph_on_map.png" width="256" height="184">
131
-
132
- See:
133
- - [A simple graph example](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/graph_edges.ipynb)
134
- - [An interactive map example](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_curve_on_map.ipynb)
135
-
136
-
137
- - #### The `alpha_stroke` Parameter in `geom_label()`
138
-
139
- Use the `alpha_stroke` parameter to apply `alpha` to entire `label`. By default, `alpha` is only applied to the label background.
140
-
141
- See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_label_alpha_stroke.ipynb).
142
-
143
- - #### Showing Plots in External Browser
144
-
145
- The [setup_show_ext()](https://lets-plot.org/python/pages/api/lets_plot.LetsPlot.html#lets_plot.LetsPlot.setup_show_ext) directive allows plots to be displayed in an external browser window.
146
-
147
- ## Recent Updates in the [Gallery](https://lets-plot.org/python/pages/gallery.html)
148
-
149
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/venn_diagram.ipynb">
150
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_venn_diagram.png" alt="f-24b/images/gal_venn_diagram.png" width="128" height="128">
151
- </a>
152
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/cookbook/geom_spoke.ipynb">
153
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_spoke.png" alt="f-24b/images/gal_spoke.png" width="128" height="128">
154
- </a>
155
- <a href="https://www.kaggle.com/code/alshan/indonesia-volcanoes-on-map">
156
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_indonesia_volcanoes_on_map.png" alt="f-24b/images/gal_indonesia_volcanoes_on_map.png" width="128" height="128">
157
- </a>
158
- <a href="https://www.kaggle.com/code/alshan/japanese-volcanoes-on-map">
159
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_japanese_volcanoes_on_map.png" alt="f-24b/images/gal_japanese_volcanoes_on_map.png" width="128" height="128">
160
- </a>
161
- <a href="https://nextjournal.com/asmirnov-horis/bbc-visual-and-data-journalism-cookbook-for-lets-plot">
162
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_bbc_cookbook.png" alt="f-24a/images/gal_bbc_cookbook.png" width="128" height="128">
163
- </a>
164
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/palmer_penguins.ipynb">
165
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_penguins.png" alt="f-24a/images/gal_penguins.png" width="128" height="128">
166
- </a>
167
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/periodic_table.ipynb">
168
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_periodic_table.png" alt="f-24a/images/gal_periodic_table.png" width="128" height="128">
169
- </a>
170
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/wind_rose.ipynb">
171
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_wind_rose.png" alt="f-24a/images/gal_wind_rose.png" width="128" height="128">
172
- </a>
173
- <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/heatmap_in_polar_coord.ipynb">
174
- <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_polar_heatmap.png" alt="f-24a/images/gal_polar_heatmap.png" width="128" height="128">
175
- </a>
176
-
177
- ## Change Log
178
-
179
- See [CHANGELOG.md](https://github.com/JetBrains/lets-plot/blob/master/CHANGELOG.md) for other changes and fixes.
180
-
181
-
182
- ## Code of Conduct
183
-
184
- This project and the corresponding community are governed by the
185
- [JetBrains Open Source and Community Code of Conduct](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct).
186
- Please make sure you read it.
187
-
188
-
189
- ## License
190
-
191
- Code and documentation released under the [MIT license](https://github.com/JetBrains/lets-plot/blob/master/LICENSE).
192
- Copyright © 2019-2024, JetBrains s.r.o.
1
+ Metadata-Version: 2.1
2
+ Name: lets-plot
3
+ Version: 4.3.3
4
+ Summary: An open source library for statistical plotting
5
+ Home-page: https://lets-plot.org
6
+ Author: JetBrains
7
+ Author-email: lets-plot@jetbrains.com
8
+ Maintainer: JetBrains
9
+ Maintainer-email: lets-plot@jetbrains.com
10
+ License: MIT
11
+ Project-URL: Github, https://github.com/JetBrains/lets-plot
12
+ Project-URL: Documentation, https://lets-plot.org
13
+ Keywords: ggplot,ggplot2,geospatial,geopandas,geocoding
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Framework :: IPython
22
+ Classifier: Framework :: Jupyter
23
+ Classifier: Operating System :: MacOS
24
+ Classifier: Operating System :: POSIX :: Linux
25
+ Classifier: Operating System :: Microsoft :: Windows
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Topic :: Scientific/Engineering :: Visualization
28
+ Classifier: Intended Audience :: Science/Research
29
+ Classifier: Intended Audience :: Developers
30
+ Description-Content-Type: text/markdown
31
+ License-File: ../LICENSE
32
+ Requires-Dist: pypng
33
+ Requires-Dist: palettable
34
+
35
+ # Lets-Plot
36
+
37
+ [![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
38
+ [![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://raw.githubusercontent.com/JetBrains/lets-plot-kotlin/master/LICENSE)
39
+ [![Latest Release](https://img.shields.io/github/v/release/JetBrains/lets-plot)](https://github.com/JetBrains/lets-plot-kotlin/releases/latest)
40
+
41
+
42
+ **Lets-Plot** is a multiplatform plotting library built on the principles of the Grammar of Graphics.
43
+
44
+ The library' design is heavily influenced by Leland Wilkinson work [The Grammar of Graphics](https://www.goodreads.com/book/show/2549408.The_Grammar_of_Graphics) describing the deep features that underlie all statistical graphics.
45
+
46
+ > This grammar [...] is made up of a set of independent components that can be composed in many different ways. This makes [it] very powerful because you are not limited to a set of pre-specified graphics, but you can create new graphics that are precisely tailored for your problem.
47
+ > - Hadley Wickham, "[ggplot2: Elegant Graphics for Data Analysis](https://ggplot2-book.org/index.html)"
48
+
49
+
50
+ ## Grammar of Graphics for Python [![Latest Release](https://badge.fury.io/py/lets-plot.svg)](https://pypi.org/project/lets-plot)
51
+
52
+ A bridge between R (ggplot2) and Python data visualization. \
53
+ To learn more see the documentation site at **[lets-plot.org](https://lets-plot.org)**.
54
+
55
+
56
+ ## Grammar of Graphics for Kotlin [![Latest Release](https://img.shields.io/github/v/release/JetBrains/lets-plot-kotlin)](https://github.com/JetBrains/lets-plot-kotlin/releases/latest)
57
+
58
+ ### Notebooks
59
+ Create plots in [Kotlin Notebook](https://plugins.jetbrains.com/plugin/16340-kotlin-notebook),
60
+ [Datalore](https://datalore.jetbrains.com/report/static/HZqq77cegYd.E7get_WnChZ/aTA9lQnPkRwdCzT6uy95GZ), [Jupyter with Kotlin Kernel](https://github.com/Kotlin/kotlin-jupyter#readme) \
61
+ or any other notebook that supports `Kotlin Kernel`. \
62
+ To learn more see the **[Lets-Plot Kotlin API](https://github.com/JetBrains/lets-plot-kotlin)** project at GitHub.
63
+
64
+ ### Compose Multiplatform
65
+ Embed Lets-Plot charts in [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform) applications. \
66
+ To learn more see the **[Lets-Plot Skia Frontend](https://github.com/JetBrains/lets-plot-skia)** project at GitHub.
67
+
68
+ ### JVM and Kotlin/JS
69
+ Embed Lets-Plot charts in JVM (Swing, JavaFX) and Kotlin/JS applications. <br>
70
+ To learn more see the **[Lets-Plot Kotlin API](https://github.com/JetBrains/lets-plot-kotlin)** project at GitHub.
71
+
72
+ ## "Lets-Plot in SciView" plugin
73
+
74
+ [![JetBrains Plugins](https://img.shields.io/jetbrains/plugin/v/14379-lets-plot-in-sciview.svg)](http://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview)
75
+ [![JetBrains plugins](https://img.shields.io/jetbrains/plugin/d/14379-lets-plot-in-sciview.svg)](http://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview)
76
+
77
+ *Scientific mode* in PyCharm and in IntelliJ IDEA provides support for interactive scientific computing and data visualization.
78
+
79
+ [*Lets-Plot in SciView*](https://plugins.jetbrains.com/plugin/14379-lets-plot-in-sciview) plugin adds
80
+ support for interactive plotting to IntelliJ-based IDEs with the *Scientific mode* enabled.
81
+
82
+ >
83
+ > **Note:** The *Scientific mode* is NOT available in communinty editions of JetBrains IDEs.
84
+ >
85
+
86
+ Also read:
87
+
88
+ - [Scientific mode in PyCharm](https://www.jetbrains.com/help/pycharm/matplotlib-support.html)
89
+ - [Scientific mode in IntelliJ IDEA](https://www.jetbrains.com/help/idea/matplotlib-support.html)
90
+
91
+ ## What is new in 4.3.0
92
+
93
+ - #### `coord_polar()`
94
+
95
+ The polar coordinate system is most commonly used for pie charts, but</br>
96
+ it can also be used for constructing **Spider or Radar charts** using the `flat` option.
97
+
98
+ <br>
99
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/polar_coord_pie.png" alt="f-24a/images/polar_coord_pie.png" width="256" height="214">
100
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/radar_chart.png" alt="f-24a/images/radar_chart.png" width="256" height="196">
101
+
102
+ See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/coord_polar.ipynb).
103
+
104
+ - #### In the `theme()`:
105
+
106
+ - `panel_inset` parameter - primarily used for plots with polar coordinates.
107
+
108
+ See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/theme_panel_inset.ipynb).
109
+
110
+ - `panel_border_ontop` parameter - enables the drawing of panel border on top of the plot geoms.
111
+ - `panel_grid_ontop, panel_grid_ontop_x, panel_grid_ontop_y` parameters - enable the drawing of grid lines on top of the plot geoms.
112
+
113
+ - #### `geom_curve()`
114
+
115
+ <br>
116
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/curve_annotation.png" alt="f-24a/images/curve_annotation.png" width="338" height="296">
117
+
118
+ See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_curve.ipynb).
119
+
120
+ - #### [**UNIQUE**] Visualizing Graph-like Data with `geom_segment()` and `geom_curve()`
121
+
122
+ - Aesthetics `size_start, size_end, stroke_start` and `stroke_end` enable better alignment of</br>
123
+ segments/curves with nodes of the graph by considering the size of the nodes.
124
+
125
+ - The `spacer` parameter allows for additional manual fine-tuning.
126
+
127
+ <br>
128
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/graph_simple.png" alt="f-24a/images/graph_simple.png" width="256" height="168">
129
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/graph_on_map.png" alt="f-24a/images/graph_on_map.png" width="256" height="184">
130
+
131
+ See:
132
+ - [A simple graph example](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/graph_edges.ipynb)
133
+ - [An interactive map example](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_curve_on_map.ipynb)
134
+
135
+
136
+ - #### The `alpha_stroke` Parameter in `geom_label()`
137
+
138
+ Use the `alpha_stroke` parameter to apply `alpha` to entire `label`. By default, `alpha` is only applied to the label background.
139
+
140
+ See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24a/geom_label_alpha_stroke.ipynb).
141
+
142
+ - #### Showing Plots in External Browser
143
+
144
+ The [setup_show_ext()](https://lets-plot.org/python/pages/api/lets_plot.LetsPlot.html#lets_plot.LetsPlot.setup_show_ext) directive allows plots to be displayed in an external browser window.
145
+
146
+ ## Recent Updates in the [Gallery](https://lets-plot.org/python/pages/gallery.html)
147
+
148
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/venn_diagram.ipynb">
149
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_venn_diagram.png" alt="f-24b/images/gal_venn_diagram.png" width="128" height="128">
150
+ </a>
151
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/cookbook/geom_spoke.ipynb">
152
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_spoke.png" alt="f-24b/images/gal_spoke.png" width="128" height="128">
153
+ </a>
154
+ <a href="https://www.kaggle.com/code/alshan/indonesia-volcanoes-on-map">
155
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_indonesia_volcanoes_on_map.png" alt="f-24b/images/gal_indonesia_volcanoes_on_map.png" width="128" height="128">
156
+ </a>
157
+ <a href="https://www.kaggle.com/code/alshan/japanese-volcanoes-on-map">
158
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24b/images/gal_japanese_volcanoes_on_map.png" alt="f-24b/images/gal_japanese_volcanoes_on_map.png" width="128" height="128">
159
+ </a>
160
+ <a href="https://nextjournal.com/asmirnov-horis/bbc-visual-and-data-journalism-cookbook-for-lets-plot">
161
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_bbc_cookbook.png" alt="f-24a/images/gal_bbc_cookbook.png" width="128" height="128">
162
+ </a>
163
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/palmer_penguins.ipynb">
164
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_penguins.png" alt="f-24a/images/gal_penguins.png" width="128" height="128">
165
+ </a>
166
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/periodic_table.ipynb">
167
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_periodic_table.png" alt="f-24a/images/gal_periodic_table.png" width="128" height="128">
168
+ </a>
169
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/wind_rose.ipynb">
170
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_wind_rose.png" alt="f-24a/images/gal_wind_rose.png" width="128" height="128">
171
+ </a>
172
+ <a href="https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/demo/heatmap_in_polar_coord.ipynb">
173
+ <img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24a/images/gal_polar_heatmap.png" alt="f-24a/images/gal_polar_heatmap.png" width="128" height="128">
174
+ </a>
175
+
176
+ ## Change Log
177
+
178
+ See [CHANGELOG.md](https://github.com/JetBrains/lets-plot/blob/master/CHANGELOG.md) for other changes and fixes.
179
+
180
+
181
+ ## Code of Conduct
182
+
183
+ This project and the corresponding community are governed by the
184
+ [JetBrains Open Source and Community Code of Conduct](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct).
185
+ Please make sure you read it.
186
+
187
+
188
+ ## License
189
+
190
+ Code and documentation released under the [MIT license](https://github.com/JetBrains/lets-plot/blob/master/LICENSE).
191
+ Copyright © 2019-2024, JetBrains s.r.o.
@@ -1,9 +1,9 @@
1
- lets_plot_kotlin_bridge.cp311-win_amd64.pyd,sha256=T7GK4vtZnggb8Qrr6-382xX26He9-TkSfSn_IjBwlIQ,5335552
2
- lets_plot/__init__.py,sha256=tsO27giIBsHAwMaQ8x7K4NgcfakPXiaTo6t2fWGI_xw,11434
1
+ lets_plot_kotlin_bridge.cp311-win_amd64.pyd,sha256=UisjqC5cmrPFAXbE4YaMLWRh0liwcecMPrcXBrG8uFw,5346816
2
+ lets_plot/__init__.py,sha256=aaaS4jkaC4cpt6YJgGquWnGyr-HarKSaVNJEX06mzVE,11426
3
3
  lets_plot/_global_settings.py,sha256=dozwVWl2_Sg_-sWC08IYqVBhg4PCDAxHBERvD_XoWJU,7631
4
4
  lets_plot/_kbridge.py,sha256=LCmRSeFeLFoESoVsm72QuZGFKDsRMMoN0lQF01xju1g,1250
5
5
  lets_plot/_type_utils.py,sha256=p2xeyF16AH36aJRmijb4k8qOd_7D8JaM5g4AsbNV1v4,2603
6
- lets_plot/_version.py,sha256=B31LeGRgi8rXo7INqG9vMSPPr01y5Bf8oXvn-qsTvO8,239
6
+ lets_plot/_version.py,sha256=7acM7Es733uDgQOaw464yFHBU_j9Z0zeXUl_llIa5kQ,239
7
7
  lets_plot/mapping.py,sha256=rp5dPbL-mBesbJix7uhJxSmABSXr3F1W2Rqw5cAr3J8,3866
8
8
  lets_plot/settings_utils.py,sha256=vKrsXMuJHR88ZZhPtQFAC-xrWKCpCPiRetfx1GpBGKU,8678
9
9
  lets_plot/tilesets.py,sha256=8LC_GsrZd1X12rII28W1XbO7A8YfeG1AjBR8L_PPFVk,10810
@@ -46,19 +46,19 @@ lets_plot/geo_data/gis/response.py,sha256=MsAk10JQe0XC-h4Cv0w7uzYxAtlx3YaSrqYXA6
46
46
  lets_plot/geo_data_internals/__init__.py,sha256=ZwcoMdyQ_k9589f2D3nXXjedJpyiDR8WyqaghTh_EVQ,238
47
47
  lets_plot/geo_data_internals/constants.py,sha256=2dViytUZPiojilhWV3UWzBAXgdHl5OoIJsNMsI0V7yU,441
48
48
  lets_plot/geo_data_internals/utils.py,sha256=8vfDa99yq1YpVNr-RDtpCJfbrON04rIG6cugpQXnJlU,1000
49
- lets_plot/package_data/lets-plot.min.js,sha256=diqhWFr3VY0gz4aR4Lxumw2HLS_J4VAcpLas20J45hM,2075865
49
+ lets_plot/package_data/lets-plot.min.js,sha256=FM6flPAdkadKyzlthezhTgE82RF1QS6kCJJndaE0F9k,2091600
50
50
  lets_plot/plot/__init__.py,sha256=XB20oTHOgYoW-TMe6pueeL_Cg6jjD63yvVoqX-_QVSw,1585
51
51
  lets_plot/plot/_global_theme.py,sha256=eatwhJiiqnY6mrNW0Y1NMco2e7xxldhItgj1IOkhRuI,311
52
52
  lets_plot/plot/annotation.py,sha256=Egf9TweEsHWnWYF8nJYP8InrzMx2jnD7nGzeUcc8rRU,7964
53
53
  lets_plot/plot/coord.py,sha256=SuJfqejmlkAgJUNfNYN-t7jlQUNWaqon3vVgLSB9nBo,8269
54
- lets_plot/plot/core.py,sha256=Y9XEvgVP9j0_ASy7Y2at-MOj9zeraP9c8HkCgXpKr7U,32017
54
+ lets_plot/plot/core.py,sha256=BCcbuX8qnB2RpwhBkDiA7mSaLt6iy6_M_9Frw307soo,31999
55
55
  lets_plot/plot/facet.py,sha256=sybZ5dpXOpLlG9KrX2LRSeeoVgX8xL22-hToR-YnHy8,7034
56
56
  lets_plot/plot/font_features.py,sha256=OInyzUmRbujBEeB2gxuD2O249-5htOQZi2Y_fujxpVY,2309
57
- lets_plot/plot/geom.py,sha256=upynWHRgvSH3q7HfCARawQwjsORh6Q5WNE4mct7QO_I,304095
57
+ lets_plot/plot/geom.py,sha256=_yUxF5QCdqtCcDg7Lii3QWgUUqZngk4IeiVIyhbB_JM,304188
58
58
  lets_plot/plot/geom_extras.py,sha256=yJ9T5hAQWnhV-KwW-a55qbDOOrLF1D28VZsHpC4aC34,1747
59
59
  lets_plot/plot/geom_function_.py,sha256=h11KorDJvWOUOofggY9fEFSvTKeNvqiUF3DtIIL5eDs,7199
60
60
  lets_plot/plot/geom_imshow_.py,sha256=pafKGgetTRkpEGycP7dW1ThXFTCrlAmSgk6kgymoC-0,15124
61
- lets_plot/plot/geom_livemap_.py,sha256=PMb5-RTlinyUeU47nW5CzoZYQwUlNxjJiD2PEaCV_kI,11557
61
+ lets_plot/plot/geom_livemap_.py,sha256=zEUrR4PE5-WrQXdPKD_o2VVUhiKMVAFAqu-atpbmrmg,11983
62
62
  lets_plot/plot/gggrid_.py,sha256=EVx2zhlYmej8qXtdlhUzcCS6zTdbsjj3Nl5IwAD4hTI,4608
63
63
  lets_plot/plot/guide.py,sha256=FuRiKhcPG1-rjU62t_5H_NEhhCjhQkkKXDAdaYaPVZs,3949
64
64
  lets_plot/plot/label.py,sha256=vyPxpkXhC979_wHn2oWfhkZXw3bGfqdX910jzEPuW9U,3987
@@ -77,8 +77,8 @@ lets_plot/plot/theme_.py,sha256=MFgySry4efMdOLAx0ZKosvSMp1q1Pemdja2Bgi4-gps,2363
77
77
  lets_plot/plot/theme_set.py,sha256=KLQSAihJU8_FmAU0at8WUAtgnIqCvU2Rd5awNhTZimo,9496
78
78
  lets_plot/plot/tooltip.py,sha256=Vo9JCLQRSoiDFGVU6YBR9OxAfWZW_pxYdAa7v7S-Ydk,16354
79
79
  lets_plot/plot/util.py,sha256=RU7zYrFXSgdZzjMf6LHc6zkXrrTFb8g8CoDfznqn7qA,7950
80
- lets_plot-4.3.2.dist-info/LICENSE,sha256=D7RdUBHyt0ua4vSZs8H7-HIcliPTSk9zY3sNzx8fejY,1087
81
- lets_plot-4.3.2.dist-info/METADATA,sha256=0SVntjM_27So5ZioSBJGUuRSC3nxTvFelMshLyhv534,11431
82
- lets_plot-4.3.2.dist-info/WHEEL,sha256=TxwUeV-3HEbjjXVQ7qnUZIKQ4IinhZYV_rmkwq84M_Y,102
83
- lets_plot-4.3.2.dist-info/top_level.txt,sha256=ID-ORXUWN-oVZmD4YFy1rQVm2QT1D-MlGON3vdxqgpY,34
84
- lets_plot-4.3.2.dist-info/RECORD,,
80
+ lets_plot-4.3.3.dist-info/LICENSE,sha256=D7RdUBHyt0ua4vSZs8H7-HIcliPTSk9zY3sNzx8fejY,1087
81
+ lets_plot-4.3.3.dist-info/METADATA,sha256=OA4wi8QOJG6O-pOam71wvydlgNlMn3tekbZrgfMUsHU,11572
82
+ lets_plot-4.3.3.dist-info/WHEEL,sha256=nSybvzWlmdJnHiUQSY-d7V1ycwEVUTqXiTvr2eshg44,102
83
+ lets_plot-4.3.3.dist-info/top_level.txt,sha256=ID-ORXUWN-oVZmD4YFy1rQVm2QT1D-MlGON3vdxqgpY,34
84
+ lets_plot-4.3.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-win_amd64
5
5
 
Binary file