lets-plot 4.5.0rc2__cp313-cp313-win_amd64.whl → 4.5.2__cp313-cp313-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/__init__.py +1 -1
- lets_plot/_version.py +1 -1
- lets_plot/bistro/corr.py +6 -1
- lets_plot/bistro/joint.py +7 -2
- lets_plot/bistro/qq.py +10 -5
- lets_plot/bistro/residual.py +6 -1
- lets_plot/bistro/waterfall.py +8 -6
- lets_plot/package_data/lets-plot.min.js +1 -1
- lets_plot/plot/annotation.py +1 -1
- lets_plot/plot/expand_limits_.py +5 -5
- lets_plot/plot/facet.py +2 -2
- lets_plot/plot/geom.py +314 -123
- lets_plot/plot/geom_function_.py +8 -2
- lets_plot/plot/geom_livemap_.py +32 -0
- lets_plot/plot/ggtb_.py +6 -3
- lets_plot/plot/scale.py +40 -40
- lets_plot/plot/scale_colormap_mpl.py +3 -3
- lets_plot/plot/scale_identity_.py +11 -19
- lets_plot/plot/scale_position.py +14 -14
- lets_plot/plot/series_meta.py +9 -3
- lets_plot/plot/stat.py +24 -0
- lets_plot/plot/theme_.py +8 -5
- lets_plot/plot/tooltip.py +1 -1
- lets_plot/tilesets.py +4 -69
- {lets_plot-4.5.0rc2.dist-info → lets_plot-4.5.2.dist-info}/METADATA +33 -18
- {lets_plot-4.5.0rc2.dist-info → lets_plot-4.5.2.dist-info}/RECORD +30 -30
- {lets_plot-4.5.0rc2.dist-info → lets_plot-4.5.2.dist-info}/WHEEL +1 -1
- lets_plot_kotlin_bridge.cp313-win_amd64.pyd +0 -0
- {lets_plot-4.5.0rc2.dist-info → lets_plot-4.5.2.dist-info}/LICENSE +0 -0
- {lets_plot-4.5.0rc2.dist-info → lets_plot-4.5.2.dist-info}/top_level.txt +0 -0
lets_plot/plot/scale_position.py
CHANGED
|
@@ -65,7 +65,7 @@ def scale_x_continuous(name=None, *,
|
|
|
65
65
|
- 'Num {}' -> 'Num 12.456789'
|
|
66
66
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
67
67
|
|
|
68
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
68
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
69
69
|
position : str
|
|
70
70
|
The position of the axis:
|
|
71
71
|
|
|
@@ -149,7 +149,7 @@ def scale_y_continuous(name=None, *,
|
|
|
149
149
|
- 'Num {}' -> 'Num 12.456789'
|
|
150
150
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
151
151
|
|
|
152
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
152
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
153
153
|
position : str
|
|
154
154
|
The position of the axis:
|
|
155
155
|
|
|
@@ -230,7 +230,7 @@ def scale_x_log10(name=None, *,
|
|
|
230
230
|
- 'Num {}' -> 'Num 12.456789'
|
|
231
231
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
232
232
|
|
|
233
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
233
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
234
234
|
position : str
|
|
235
235
|
The position of the axis:
|
|
236
236
|
|
|
@@ -307,7 +307,7 @@ def scale_y_log10(name=None, *,
|
|
|
307
307
|
- 'Num {}' -> 'Num 12.456789'
|
|
308
308
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
309
309
|
|
|
310
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
310
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
311
311
|
position : str
|
|
312
312
|
The position of the axis:
|
|
313
313
|
|
|
@@ -384,7 +384,7 @@ def scale_x_log2(name=None, *,
|
|
|
384
384
|
- 'Num {}' -> 'Num 12.456789'
|
|
385
385
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
386
386
|
|
|
387
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
387
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
388
388
|
position : str
|
|
389
389
|
The position of the axis:
|
|
390
390
|
|
|
@@ -461,7 +461,7 @@ def scale_y_log2(name=None, *,
|
|
|
461
461
|
- 'Num {}' -> 'Num 12.456789'
|
|
462
462
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
463
463
|
|
|
464
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
464
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
465
465
|
position : str
|
|
466
466
|
The position of the axis:
|
|
467
467
|
|
|
@@ -538,7 +538,7 @@ def scale_x_reverse(name=None, *,
|
|
|
538
538
|
- 'Num {}' -> 'Num 12.456789'
|
|
539
539
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
540
540
|
|
|
541
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
541
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
542
542
|
position : str
|
|
543
543
|
The position of the axis:
|
|
544
544
|
|
|
@@ -615,7 +615,7 @@ def scale_y_reverse(name=None, *,
|
|
|
615
615
|
- 'Num {}' -> 'Num 12.456789'
|
|
616
616
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
617
617
|
|
|
618
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
618
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
619
619
|
position : str
|
|
620
620
|
The position of the axis:
|
|
621
621
|
|
|
@@ -699,7 +699,7 @@ def scale_x_discrete(name=None, *,
|
|
|
699
699
|
- 'Num {}' -> 'Num 12.456789'
|
|
700
700
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
701
701
|
|
|
702
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
702
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
703
703
|
position : str
|
|
704
704
|
The position of the axis:
|
|
705
705
|
|
|
@@ -784,7 +784,7 @@ def scale_x_discrete_reversed(name=None, *,
|
|
|
784
784
|
- 'Num {}' -> 'Num 12.456789'
|
|
785
785
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
786
786
|
|
|
787
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
787
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
788
788
|
position : str
|
|
789
789
|
The position of the axis:
|
|
790
790
|
|
|
@@ -868,7 +868,7 @@ def scale_y_discrete(name=None, *,
|
|
|
868
868
|
- 'Num {}' -> 'Num 12.456789'
|
|
869
869
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
870
870
|
|
|
871
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
871
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
872
872
|
position : str
|
|
873
873
|
The position of the axis:
|
|
874
874
|
|
|
@@ -953,7 +953,7 @@ def scale_y_discrete_reversed(name=None, *,
|
|
|
953
953
|
- 'Num {}' -> 'Num 12.456789'
|
|
954
954
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
955
955
|
|
|
956
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
956
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
957
957
|
position : str
|
|
958
958
|
The position of the axis:
|
|
959
959
|
|
|
@@ -1041,7 +1041,7 @@ def scale_x_datetime(name=None, *,
|
|
|
1041
1041
|
- '%B %Y' -> 'August 2019'
|
|
1042
1042
|
- '%a, %e %b %Y %H:%M:%S' -> 'Tue, 6 Aug 2019 04:46:35'
|
|
1043
1043
|
|
|
1044
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
1044
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
1045
1045
|
position : str
|
|
1046
1046
|
The position of the axis:
|
|
1047
1047
|
|
|
@@ -1128,7 +1128,7 @@ def scale_y_datetime(name=None, *,
|
|
|
1128
1128
|
- '%B %Y' -> 'August 2019'
|
|
1129
1129
|
- '%a, %e %b %Y %H:%M:%S' -> 'Tue, 6 Aug 2019 04:46:35'
|
|
1130
1130
|
|
|
1131
|
-
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
1131
|
+
For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
1132
1132
|
position : str
|
|
1133
1133
|
The position of the axis:
|
|
1134
1134
|
|
lets_plot/plot/series_meta.py
CHANGED
|
@@ -86,11 +86,17 @@ def infer_type(data: Union[Dict, 'pandas.DataFrame', 'polars.DataFrame']) -> Dic
|
|
|
86
86
|
continue
|
|
87
87
|
|
|
88
88
|
type_set = set(type(val) for val in var_content)
|
|
89
|
-
if None in type_set:
|
|
90
|
-
type_set.remove(None)
|
|
89
|
+
if type(None) in type_set:
|
|
90
|
+
type_set.remove(type(None))
|
|
91
|
+
|
|
92
|
+
if len(type_set) == 0:
|
|
93
|
+
continue
|
|
91
94
|
|
|
92
95
|
if len(type_set) > 1:
|
|
93
|
-
|
|
96
|
+
if all(issubclass(type_obj, int) or issubclass(type_obj, float) for type_obj in type_set):
|
|
97
|
+
type_info[var_name] = TYPE_FLOATING
|
|
98
|
+
else:
|
|
99
|
+
type_info[var_name] = 'unknown(mixed types)'
|
|
94
100
|
continue
|
|
95
101
|
|
|
96
102
|
try:
|
lets_plot/plot/stat.py
CHANGED
|
@@ -44,6 +44,7 @@ def stat_summary(mapping=None, *, data=None, geom=None,
|
|
|
44
44
|
tooltips : `layer_tooltips`
|
|
45
45
|
Result of the call to the `layer_tooltips()` function.
|
|
46
46
|
Specify appearance, style and content.
|
|
47
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
47
48
|
orientation : str
|
|
48
49
|
Specify the axis that the layer's stat and geom should run along.
|
|
49
50
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -83,6 +84,11 @@ def stat_summary(mapping=None, *, data=None, geom=None,
|
|
|
83
84
|
- ..ymin.. : result of calculating of `fun_min`.
|
|
84
85
|
- ..ymax.. : result of calculating of `fun_max`.
|
|
85
86
|
|
|
87
|
+
----
|
|
88
|
+
|
|
89
|
+
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
90
|
+
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
91
|
+
|
|
86
92
|
Examples
|
|
87
93
|
--------
|
|
88
94
|
.. jupyter-execute::
|
|
@@ -190,6 +196,7 @@ def stat_summary_bin(mapping=None, *, data=None, geom=None,
|
|
|
190
196
|
tooltips : `layer_tooltips`
|
|
191
197
|
Result of the call to the `layer_tooltips()` function.
|
|
192
198
|
Specify appearance, style and content.
|
|
199
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
193
200
|
orientation : str, default='x'
|
|
194
201
|
Specify the axis that the layer's stat and geom should run along.
|
|
195
202
|
Possible values: 'x', 'y'.
|
|
@@ -238,6 +245,11 @@ def stat_summary_bin(mapping=None, *, data=None, geom=None,
|
|
|
238
245
|
- ..ymin.. : result of calculating of `fun_min`.
|
|
239
246
|
- ..ymax.. : result of calculating of `fun_max`.
|
|
240
247
|
|
|
248
|
+
----
|
|
249
|
+
|
|
250
|
+
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
251
|
+
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
252
|
+
|
|
241
253
|
Examples
|
|
242
254
|
--------
|
|
243
255
|
.. jupyter-execute::
|
|
@@ -344,6 +356,7 @@ def stat_ecdf(mapping=None, *, data=None, geom=None,
|
|
|
344
356
|
tooltips : `layer_tooltips`
|
|
345
357
|
Result of the call to the `layer_tooltips()` function.
|
|
346
358
|
Specify appearance, style and content.
|
|
359
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
347
360
|
orientation : str, default='x'
|
|
348
361
|
Specify the axis that the layer's stat and geom should run along.
|
|
349
362
|
Possible values: 'x', 'y'.
|
|
@@ -375,6 +388,11 @@ def stat_ecdf(mapping=None, *, data=None, geom=None,
|
|
|
375
388
|
|
|
376
389
|
In addition, you can use any aesthetics, available for the geometry defined by the `geom` parameter.
|
|
377
390
|
|
|
391
|
+
----
|
|
392
|
+
|
|
393
|
+
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
394
|
+
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
395
|
+
|
|
378
396
|
Examples
|
|
379
397
|
--------
|
|
380
398
|
.. jupyter-execute::
|
|
@@ -479,6 +497,7 @@ def stat_sum(mapping=None, *, data=None, geom=None, position=None, show_legend=N
|
|
|
479
497
|
tooltips : `layer_tooltips`
|
|
480
498
|
Result of the call to the `layer_tooltips()` function.
|
|
481
499
|
Specify appearance, style and content.
|
|
500
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
482
501
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
483
502
|
Define the color aesthetic for the geometry.
|
|
484
503
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -509,6 +528,11 @@ def stat_sum(mapping=None, *, data=None, geom=None, position=None, show_legend=N
|
|
|
509
528
|
|
|
510
529
|
In addition, you can use any aesthetics, available for the geometry defined by the `geom` parameter.
|
|
511
530
|
|
|
531
|
+
----
|
|
532
|
+
|
|
533
|
+
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
534
|
+
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
535
|
+
|
|
512
536
|
Examples
|
|
513
537
|
--------
|
|
514
538
|
.. jupyter-execute::
|
lets_plot/plot/theme_.py
CHANGED
|
@@ -109,9 +109,12 @@ def theme(*,
|
|
|
109
109
|
|
|
110
110
|
- the first element is the format - 'e', 'pow', 'pow_full';
|
|
111
111
|
- the second element is minimum exponent value from which to use scientific notation (default is -7);
|
|
112
|
-
- the third element is maximum exponent value from which to use scientific notation (default is taken from `precision` of the current formatting, see https://lets-plot.org/python/pages/formats.html).
|
|
112
|
+
- the third element is maximum exponent value from which to use scientific notation (default is taken from `precision` of the current formatting, see `Formatting <https://lets-plot.org/python/pages/formats.html>`__).
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
Minimum and maximum exponent values are only taken into account when "g" format is used,
|
|
115
|
+
see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
|
|
116
|
+
|
|
117
|
+
Superscript is not supported when exporting to PNG/PDF.
|
|
115
118
|
line : str or dict
|
|
116
119
|
All line elements.
|
|
117
120
|
Set 'blank' or result of `element_blank()` to draw nothing and assign no space.
|
|
@@ -470,7 +473,7 @@ def element_rect(
|
|
|
470
473
|
- A string of an even number (up to eight) of hexadecimal digits, specifying the lengths in consecutive positions.
|
|
471
474
|
- A list defines the pattern of dashes and gaps, either with an offset: [offset, [dash, gap, ...]], or without an offset: [dash, gap, ...].
|
|
472
475
|
|
|
473
|
-
For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
476
|
+
For more info see `Line Types <https://lets-plot.org/python/pages/aesthetics.html#line-types>`__.
|
|
474
477
|
blank : bool, default=False
|
|
475
478
|
If True - draws nothing, and assigns no space.
|
|
476
479
|
|
|
@@ -521,7 +524,7 @@ def element_line(
|
|
|
521
524
|
- A string of an even number (up to eight) of hexadecimal digits, specifying the lengths in consecutive positions.
|
|
522
525
|
- A list defines the pattern of dashes and gaps, either with an offset: [offset, [dash, gap, ...]], or without an offset: [dash, gap, ...].
|
|
523
526
|
|
|
524
|
-
For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
527
|
+
For more info see `Line Types <https://lets-plot.org/python/pages/aesthetics.html#line-types>`__.
|
|
525
528
|
blank : bool, default=False
|
|
526
529
|
If True - draws nothing, and assigns no space.
|
|
527
530
|
|
|
@@ -675,4 +678,4 @@ def element_geom(
|
|
|
675
678
|
theme(geom=element_geom(pen='dark_blue', paper='light_blue'))
|
|
676
679
|
|
|
677
680
|
"""
|
|
678
|
-
return locals()
|
|
681
|
+
return locals()
|
lets_plot/plot/tooltip.py
CHANGED
lets_plot/tilesets.py
CHANGED
|
@@ -140,6 +140,7 @@ def _carto_tiles(tileset, cdn):
|
|
|
140
140
|
if cdn == 'carto':
|
|
141
141
|
base_url = "https://{{s}}.basemaps.cartocdn.com/rastertiles/{tileset}/{{z}}/{{x}}/{{y}}{hi_res}.png"
|
|
142
142
|
elif cdn == 'fastly':
|
|
143
|
+
# TODO: remove this branch in future releases
|
|
143
144
|
base_url = "https://cartocdn_{{s}}.global.ssl.fastly.net/{tileset}/{{z}}/{{x}}/{{y}}{hi_res}.png"
|
|
144
145
|
else:
|
|
145
146
|
raise ValueError("Unknown carto cdn: {}. Expected 'carto' or 'fastly'.".format(cdn))
|
|
@@ -267,85 +268,19 @@ Examples
|
|
|
267
268
|
|
|
268
269
|
CARTO_MIDNIGHT_COMMANDER, CARTO_MIDNIGHT_COMMANDER_HIRES = _carto_tiles('base-midnight', cdn='fastly')
|
|
269
270
|
"""
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
Examples
|
|
273
|
-
--------
|
|
274
|
-
.. jupyter-execute::
|
|
275
|
-
:linenos:
|
|
276
|
-
:emphasize-lines: 4
|
|
277
|
-
|
|
278
|
-
from lets_plot import *
|
|
279
|
-
from lets_plot import tilesets
|
|
280
|
-
LetsPlot.setup_html()
|
|
281
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_MIDNIGHT_COMMANDER)
|
|
282
|
-
|
|
283
|
-
|
|
|
284
|
-
|
|
285
|
-
.. jupyter-execute::
|
|
286
|
-
:linenos:
|
|
287
|
-
:emphasize-lines: 4
|
|
288
|
-
|
|
289
|
-
from lets_plot import *
|
|
290
|
-
from lets_plot import tilesets
|
|
291
|
-
LetsPlot.setup_html()
|
|
292
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_MIDNIGHT_COMMANDER_HIRES)
|
|
271
|
+
The tileset is deprecated and will be removed in future releases.
|
|
293
272
|
|
|
294
273
|
"""
|
|
295
274
|
|
|
296
275
|
CARTO_ANTIQUE, CARTO_ANTIQUE_HIRES = _carto_tiles('base-antique', cdn='fastly')
|
|
297
276
|
"""
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
Examples
|
|
301
|
-
--------
|
|
302
|
-
.. jupyter-execute::
|
|
303
|
-
:linenos:
|
|
304
|
-
:emphasize-lines: 4
|
|
305
|
-
|
|
306
|
-
from lets_plot import *
|
|
307
|
-
from lets_plot import tilesets
|
|
308
|
-
LetsPlot.setup_html()
|
|
309
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_ANTIQUE)
|
|
310
|
-
|
|
311
|
-
|
|
|
312
|
-
|
|
313
|
-
.. jupyter-execute::
|
|
314
|
-
:linenos:
|
|
315
|
-
:emphasize-lines: 4
|
|
316
|
-
|
|
317
|
-
from lets_plot import *
|
|
318
|
-
from lets_plot import tilesets
|
|
319
|
-
LetsPlot.setup_html()
|
|
320
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_ANTIQUE_HIRES)
|
|
277
|
+
The tileset is deprecated and will be removed in future releases.
|
|
321
278
|
|
|
322
279
|
"""
|
|
323
280
|
|
|
324
281
|
CARTO_FLAT_BLUE, CARTO_FLAT_BLUE_HIRES = _carto_tiles('base-flatblue', cdn='fastly')
|
|
325
282
|
"""
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
Examples
|
|
329
|
-
--------
|
|
330
|
-
.. jupyter-execute::
|
|
331
|
-
:linenos:
|
|
332
|
-
:emphasize-lines: 4
|
|
333
|
-
|
|
334
|
-
from lets_plot import *
|
|
335
|
-
from lets_plot import tilesets
|
|
336
|
-
LetsPlot.setup_html()
|
|
337
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_FLAT_BLUE)
|
|
338
|
-
|
|
339
|
-
|
|
|
340
|
-
|
|
341
|
-
.. jupyter-execute::
|
|
342
|
-
:linenos:
|
|
343
|
-
:emphasize-lines: 4
|
|
344
|
-
|
|
345
|
-
from lets_plot import *
|
|
346
|
-
from lets_plot import tilesets
|
|
347
|
-
LetsPlot.setup_html()
|
|
348
|
-
ggplot() + geom_livemap(tiles=tilesets.CARTO_FLAT_BLUE_HIRES)
|
|
283
|
+
The tileset is deprecated and will be removed in future releases.
|
|
349
284
|
|
|
350
285
|
"""
|
|
351
286
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lets-plot
|
|
3
|
-
Version: 4.5.
|
|
3
|
+
Version: 4.5.2
|
|
4
4
|
Summary: An open source library for statistical plotting
|
|
5
5
|
Home-page: https://lets-plot.org
|
|
6
6
|
Author: JetBrains
|
|
@@ -89,30 +89,45 @@ Also read:
|
|
|
89
89
|
- [Scientific mode in PyCharm](https://www.jetbrains.com/help/pycharm/matplotlib-support.html)
|
|
90
90
|
- [Scientific mode in IntelliJ IDEA](https://www.jetbrains.com/help/idea/matplotlib-support.html)
|
|
91
91
|
|
|
92
|
-
## What is new in 4.
|
|
92
|
+
## What is new in 4.5.0
|
|
93
93
|
|
|
94
|
-
- ####
|
|
95
|
-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-
|
|
94
|
+
- #### Panning and Zooming
|
|
95
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/ggtb.png" alt="f-24g/images/ggtb.png" width="300" height="134">
|
|
96
96
|
|
|
97
|
-
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-
|
|
97
|
+
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/interact_pan_zoom.ipynb).
|
|
98
98
|
|
|
99
|
-
- ####
|
|
100
|
-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-
|
|
99
|
+
- #### Clickable Links
|
|
100
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/lp_verse.png" alt="f-24g/images/lp_verse.png" width="400" height="270">
|
|
101
101
|
|
|
102
|
-
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-
|
|
102
|
+
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/interactive_links.ipynb).
|
|
103
103
|
|
|
104
|
-
- ####
|
|
105
|
-
-
|
|
106
|
-
- `layer_key()` function
|
|
107
|
-
<br>
|
|
108
|
-
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24e/images/custom_legend.png" alt="f-24e/images/custom_legend.png.png" width="294" height="147">
|
|
104
|
+
- #### LaTeX Support: Subscript, Superscript, Greek Letters and Special Characters
|
|
105
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/latex.png" alt="f-24g/images/latex.png" width="300" height="227">
|
|
109
106
|
|
|
110
|
-
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/latex_support.ipynb).
|
|
108
|
+
|
|
109
|
+
> [!CAUTION]
|
|
110
|
+
> Subscripts and superscripts are not supported in PDF and PNG exports.
|
|
111
|
+
|
|
112
|
+
- #### Compact Scientific Notation Formatting
|
|
113
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/compact_exp.png" alt="f-24g/images/compact_exp.png" width="400" height="174">
|
|
114
114
|
|
|
115
|
-
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-
|
|
115
|
+
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/superscript_exponent.ipynb).
|
|
116
|
+
|
|
117
|
+
> [!CAUTION]
|
|
118
|
+
> `pow` and `pow_full` options are not supported in PDF and PNG exports.
|
|
119
|
+
|
|
120
|
+
- #### QQ-Plot: Marginal Distributions
|
|
121
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/gg_marins.png" alt="f-24g/images/gg_marins.png" width="400" height="249">
|
|
122
|
+
|
|
123
|
+
See [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/qq_plot_marginal.ipynb).
|
|
124
|
+
|
|
125
|
+
- #### More Theme Settings
|
|
126
|
+
<img src="https://raw.githubusercontent.com/JetBrains/lets-plot/master/docs/f-24g/images/theme_legend_scheme.png" alt="f-24g/images/theme_legend_scheme.png" width="400" height="320">
|
|
127
|
+
|
|
128
|
+
See examples: [legend margins](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/theme_legend_margins.ipynb),
|
|
129
|
+
[legend key](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/theme_legend_key.ipynb),
|
|
130
|
+
[facet strip](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24g/theme_facet_strip_xy.ipynb).
|
|
116
131
|
|
|
117
132
|
|
|
118
133
|
- #### And More
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
lets_plot_kotlin_bridge.cp313-win_amd64.pyd,sha256=
|
|
2
|
-
lets_plot/__init__.py,sha256=
|
|
1
|
+
lets_plot_kotlin_bridge.cp313-win_amd64.pyd,sha256=2O8v2-b6CO846Jlqs6o0uuwROefkhIf0kjfPtzCubw0,7696896
|
|
2
|
+
lets_plot/__init__.py,sha256=aOXcSZVe50fLxe5PN_EjUUrylcqzc-kbSBunOpl_wmc,11507
|
|
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=6hyHbuAmxadW-h0AhTlHgKjQe-3g8cEhnskZ9zBnx5w,3029
|
|
6
|
-
lets_plot/_version.py,sha256=
|
|
6
|
+
lets_plot/_version.py,sha256=fhx5Q8v1-CtNbYnRsb_w2GzBPIhHa3Ck5h6zNdBYTqk,239
|
|
7
7
|
lets_plot/mapping.py,sha256=vWWGrVgzgo1u3R8djyshSoOEuaqlqSQpEVeQNqeKWk0,3691
|
|
8
8
|
lets_plot/settings_utils.py,sha256=vKrsXMuJHR88ZZhPtQFAC-xrWKCpCPiRetfx1GpBGKU,8678
|
|
9
|
-
lets_plot/tilesets.py,sha256=
|
|
9
|
+
lets_plot/tilesets.py,sha256=opnIz6UI3Gu34JRICD_Tj_hrRmhBC-Rj1NuKLiWeJkk,9549
|
|
10
10
|
lets_plot/bistro/__init__.py,sha256=0vjEBjuS3r4MR8ugQ1zIo1sks6K0ljSESJWH3pQcgYI,442
|
|
11
11
|
lets_plot/bistro/_plot2d_common.py,sha256=E6a2QghFF8CWwUzT-iCtgqYBepCCPuwUyxcDM8BJkL8,3712
|
|
12
|
-
lets_plot/bistro/corr.py,sha256=
|
|
12
|
+
lets_plot/bistro/corr.py,sha256=1_8MUeSQAL50kxn7cbOpQUR2S_w4LHBLJ_EIi3m-ZzY,13339
|
|
13
13
|
lets_plot/bistro/im.py,sha256=HDpoNcqzYQrFfw40qAQQ8CvD0lQPzpNWkF93UrjLYjQ,5654
|
|
14
|
-
lets_plot/bistro/joint.py,sha256=
|
|
15
|
-
lets_plot/bistro/qq.py,sha256=
|
|
16
|
-
lets_plot/bistro/residual.py,sha256=
|
|
17
|
-
lets_plot/bistro/waterfall.py,sha256=
|
|
14
|
+
lets_plot/bistro/joint.py,sha256=8dn7mhbDkPCzVefrMSZ1kOJlX82RclWS4IBQe1lYymw,6744
|
|
15
|
+
lets_plot/bistro/qq.py,sha256=lXRoStspJ6cBiZ6WFNS5gPXQGyE1iBq4c40V9OuQHok,8305
|
|
16
|
+
lets_plot/bistro/residual.py,sha256=FaKP0T34wcBZNL_xMKrqDohSyVb5A6_oYqpKPo_uBr4,12654
|
|
17
|
+
lets_plot/bistro/waterfall.py,sha256=hV0QQO8btMqCT0RWtmoMy3YYwHptVrH8hqkivhKOflo,10725
|
|
18
18
|
lets_plot/export/__init__.py,sha256=JloMKV4OAMgxBuYg8ObByZ3LJvqcUKed1G286WLA85E,194
|
|
19
19
|
lets_plot/export/ggsave_.py,sha256=fSb9C3hUUmng-NbsIrv7F_a9F7aHXH8PWrSGW3MWyjQ,4704
|
|
20
20
|
lets_plot/frontend_context/__init__.py,sha256=LALJE-5rVdEcgCP-sWTwNAVoVZB-Pr2lG8CpVn04FrY,212
|
|
@@ -47,22 +47,22 @@ lets_plot/geo_data/gis/response.py,sha256=MsAk10JQe0XC-h4Cv0w7uzYxAtlx3YaSrqYXA6
|
|
|
47
47
|
lets_plot/geo_data_internals/__init__.py,sha256=ZwcoMdyQ_k9589f2D3nXXjedJpyiDR8WyqaghTh_EVQ,238
|
|
48
48
|
lets_plot/geo_data_internals/constants.py,sha256=2dViytUZPiojilhWV3UWzBAXgdHl5OoIJsNMsI0V7yU,441
|
|
49
49
|
lets_plot/geo_data_internals/utils.py,sha256=8vfDa99yq1YpVNr-RDtpCJfbrON04rIG6cugpQXnJlU,1000
|
|
50
|
-
lets_plot/package_data/lets-plot.min.js,sha256=
|
|
50
|
+
lets_plot/package_data/lets-plot.min.js,sha256=GSK-adKD-9TzqQzsTPOFVhs6iHF6AtUEJ60njqIRRGg,2779226
|
|
51
51
|
lets_plot/plot/__init__.py,sha256=GiiaHZnDDw6C2RRMSlsTbBi9hklr0VS-9j0sfvGYmHw,1779
|
|
52
52
|
lets_plot/plot/_global_theme.py,sha256=eatwhJiiqnY6mrNW0Y1NMco2e7xxldhItgj1IOkhRuI,311
|
|
53
|
-
lets_plot/plot/annotation.py,sha256=
|
|
53
|
+
lets_plot/plot/annotation.py,sha256=9jFJ2BTfLXKD-I0uBJrf8tC6cnv31ANTge8cDRJNHfc,7893
|
|
54
54
|
lets_plot/plot/coord.py,sha256=B4EEt6mqPERbYVwzl3VPkEym9hq_tO0LNtgdtluWQBQ,8218
|
|
55
55
|
lets_plot/plot/core.py,sha256=XTdRQ0Cn0wBypwXj3IpnGVy2i5Qj5jPaJxiSYry2sjo,32476
|
|
56
|
-
lets_plot/plot/expand_limits_.py,sha256=
|
|
57
|
-
lets_plot/plot/facet.py,sha256=
|
|
56
|
+
lets_plot/plot/expand_limits_.py,sha256=4_NqSyQMz20GZbsbHKhjCUP_7nS45N2107jPbq4GVmE,2385
|
|
57
|
+
lets_plot/plot/facet.py,sha256=cEWqPgl-4-sYv7Sq5EA_lQPrtKcnFmBMTYxIqo98re4,7236
|
|
58
58
|
lets_plot/plot/font_features.py,sha256=OInyzUmRbujBEeB2gxuD2O249-5htOQZi2Y_fujxpVY,2309
|
|
59
|
-
lets_plot/plot/geom.py,sha256=
|
|
59
|
+
lets_plot/plot/geom.py,sha256=tp5cjHkoYtqKY70rq7RSN-9ejJgDGy47BLwbg0E7BwA,350270
|
|
60
60
|
lets_plot/plot/geom_extras.py,sha256=yJ9T5hAQWnhV-KwW-a55qbDOOrLF1D28VZsHpC4aC34,1747
|
|
61
|
-
lets_plot/plot/geom_function_.py,sha256=
|
|
61
|
+
lets_plot/plot/geom_function_.py,sha256=FsytaKiyVEvg7KGhnlq4-4Gb3YPzK1XyJ3Zos1NgH4g,8087
|
|
62
62
|
lets_plot/plot/geom_imshow_.py,sha256=pQX2hJn3R24hMB68F-PPb0UcDtbylg2VEFD3055jFyE,15160
|
|
63
|
-
lets_plot/plot/geom_livemap_.py,sha256=
|
|
63
|
+
lets_plot/plot/geom_livemap_.py,sha256=K-PjktJkbHa7Ylu0hyt-el2h_IA0n9gZ7W5VNtydSgQ,13457
|
|
64
64
|
lets_plot/plot/gggrid_.py,sha256=Gi0ypt1758B0QL-m6KldgK71yxcEcAc4XqqKb65aT1Q,4625
|
|
65
|
-
lets_plot/plot/ggtb_.py,sha256=
|
|
65
|
+
lets_plot/plot/ggtb_.py,sha256=aNJNfqTWJF4I592tYeORBhqZv93KxPjyrts49M3JutQ,1743
|
|
66
66
|
lets_plot/plot/guide.py,sha256=huDbWFR4k5hmN00oF-sz-8RIv6pYyBCStCz--98qLvs,6923
|
|
67
67
|
lets_plot/plot/label.py,sha256=1_c1RWMdolYNmef8TjuPk8YtVmLU0QKY3ZG_UoOAV74,4736
|
|
68
68
|
lets_plot/plot/marginal_layer.py,sha256=auDAO5IiRpJVcqzqr31SnXJz7sQGIVbndx__qfr7JyY,6538
|
|
@@ -70,20 +70,20 @@ lets_plot/plot/plot.py,sha256=mS2vIt7tV1jUJI2atmerA6t1yCxGF2QqqugEqgUQPWo,8102
|
|
|
70
70
|
lets_plot/plot/pos.py,sha256=NxnuE--5hwQCWOEqnoQu8TFppZYXJG5m2cgWkPjmXIg,10703
|
|
71
71
|
lets_plot/plot/sampling.py,sha256=0DB-3hop8JUI0ZNfjML0wxi7W2EIApXGMEKQgGTGnoA,8827
|
|
72
72
|
lets_plot/plot/sandbox_.py,sha256=5wp2bkIBsihw9aIoKr8FUQZmtZbInHPCULbG5uPsMYE,571
|
|
73
|
-
lets_plot/plot/scale.py,sha256=
|
|
74
|
-
lets_plot/plot/scale_colormap_mpl.py,sha256=
|
|
73
|
+
lets_plot/plot/scale.py,sha256=b3KK7CidyJImCpyN5g_MAozmAJreTC2S1lds8WxRdJA,139616
|
|
74
|
+
lets_plot/plot/scale_colormap_mpl.py,sha256=Kn-_-RMOGIBT5-Wf7iSXQ31G9J0QTy6oFGE36Vw6PcI,10564
|
|
75
75
|
lets_plot/plot/scale_convenience.py,sha256=UOXX07wP5aARYwsOZ-6rK_RR0szhdhnThPvia6LOqrE,4271
|
|
76
|
-
lets_plot/plot/scale_identity_.py,sha256=
|
|
77
|
-
lets_plot/plot/scale_position.py,sha256=
|
|
78
|
-
lets_plot/plot/series_meta.py,sha256=
|
|
79
|
-
lets_plot/plot/stat.py,sha256=
|
|
76
|
+
lets_plot/plot/scale_identity_.py,sha256=6Uz5focUCHIqB9TPhJs7VsPrlZA7JmDOoP2iZYgCuOU,24454
|
|
77
|
+
lets_plot/plot/scale_position.py,sha256=_DlKxIKm2_UBxgnCmAdzYf9Mk0bT8xd-PJlnVz2eIpI,47621
|
|
78
|
+
lets_plot/plot/series_meta.py,sha256=dKfCgTR7RPP3MJjrd1Civ1G0w9I39MH4T6gqJrry0Fc,5909
|
|
79
|
+
lets_plot/plot/stat.py,sha256=wfFhM1WGNiBH2PLroq8Y6RbRMz6jZrRYaJBcWWbbkCo,23514
|
|
80
80
|
lets_plot/plot/subplots.py,sha256=euKS4m13r0Ilqu1kSBDoW1cjxgFqPRPuPiFyoERO6ro,11633
|
|
81
|
-
lets_plot/plot/theme_.py,sha256=
|
|
81
|
+
lets_plot/plot/theme_.py,sha256=T6yb7Y79pwOv1r-gE2q0ib0oAowrp3BCy8AO7eeRwJM,29546
|
|
82
82
|
lets_plot/plot/theme_set.py,sha256=KLQSAihJU8_FmAU0at8WUAtgnIqCvU2Rd5awNhTZimo,9496
|
|
83
|
-
lets_plot/plot/tooltip.py,sha256=
|
|
83
|
+
lets_plot/plot/tooltip.py,sha256=TdyJ8pjNuomAF6jeaRsFyFxWWoSSoFFSzsTTnUYBg2Q,16469
|
|
84
84
|
lets_plot/plot/util.py,sha256=w5PWWPPG_b3g8z9yxfodsd38Csu-qg6z_Zgmzbavsn0,8812
|
|
85
|
-
lets_plot-4.5.
|
|
86
|
-
lets_plot-4.5.
|
|
87
|
-
lets_plot-4.5.
|
|
88
|
-
lets_plot-4.5.
|
|
89
|
-
lets_plot-4.5.
|
|
85
|
+
lets_plot-4.5.2.dist-info/LICENSE,sha256=D7RdUBHyt0ua4vSZs8H7-HIcliPTSk9zY3sNzx8fejY,1087
|
|
86
|
+
lets_plot-4.5.2.dist-info/METADATA,sha256=wnqA1cf5HdlRdQG1f4SbFMdvQjwNPkDAJDlk0ZimrSc,11362
|
|
87
|
+
lets_plot-4.5.2.dist-info/WHEEL,sha256=4-iQBlRoDdX1wfPofc7KLWa5Cys4eZSgXs6GVU8fKlQ,101
|
|
88
|
+
lets_plot-4.5.2.dist-info/top_level.txt,sha256=ID-ORXUWN-oVZmD4YFy1rQVm2QT1D-MlGON3vdxqgpY,34
|
|
89
|
+
lets_plot-4.5.2.dist-info/RECORD,,
|
|
Binary file
|
|
File without changes
|
|
File without changes
|