lets-plot 4.5.0__cp311-cp311-win_amd64.whl → 4.5.0rc1__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/__init__.py +1 -1
- lets_plot/_version.py +1 -1
- lets_plot/bistro/corr.py +1 -6
- lets_plot/bistro/joint.py +2 -7
- lets_plot/bistro/qq.py +5 -10
- lets_plot/bistro/residual.py +1 -6
- lets_plot/bistro/waterfall.py +4 -4
- 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 +123 -314
- lets_plot/plot/geom_function_.py +2 -8
- lets_plot/plot/geom_livemap_.py +0 -32
- lets_plot/plot/ggtb_.py +3 -6
- lets_plot/plot/scale.py +40 -40
- lets_plot/plot/scale_colormap_mpl.py +3 -3
- lets_plot/plot/scale_identity_.py +19 -11
- lets_plot/plot/scale_position.py +14 -14
- lets_plot/plot/stat.py +0 -24
- lets_plot/plot/theme_.py +5 -8
- lets_plot/plot/tooltip.py +1 -1
- lets_plot/tilesets.py +69 -4
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/METADATA +18 -33
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/RECORD +29 -29
- lets_plot_kotlin_bridge.cp311-win_amd64.pyd +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/LICENSE +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/WHEEL +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/top_level.txt +0 -0
lets_plot/__init__.py
CHANGED
|
@@ -108,7 +108,7 @@ class LetsPlot:
|
|
|
108
108
|
def set(cls, settings: Dict):
|
|
109
109
|
"""
|
|
110
110
|
Set up library options.
|
|
111
|
-
For more info see
|
|
111
|
+
For more info see https://lets-plot.org/python/pages/basemap_tiles.html#configuring-globally.
|
|
112
112
|
|
|
113
113
|
Parameters
|
|
114
114
|
----------
|
lets_plot/_version.py
CHANGED
lets_plot/bistro/corr.py
CHANGED
|
@@ -68,11 +68,6 @@ class corr_plot:
|
|
|
68
68
|
"""
|
|
69
69
|
This class is intended to build correlation matrix plot.
|
|
70
70
|
|
|
71
|
-
Notes
|
|
72
|
-
-----
|
|
73
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
74
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
75
|
-
|
|
76
71
|
Examples
|
|
77
72
|
--------
|
|
78
73
|
.. jupyter-execute::
|
|
@@ -210,7 +205,7 @@ class corr_plot:
|
|
|
210
205
|
If False - the text size is constant. Default - contextual.
|
|
211
206
|
color : str
|
|
212
207
|
Set text color.
|
|
213
|
-
For more info see
|
|
208
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
214
209
|
Default - contextual.
|
|
215
210
|
|
|
216
211
|
Returns
|
lets_plot/bistro/joint.py
CHANGED
|
@@ -64,7 +64,7 @@ def joint_plot(data, x, y, *,
|
|
|
64
64
|
Applicable simultaneously for 'tile' geom and 'histogram' marginal.
|
|
65
65
|
color : str
|
|
66
66
|
Color of the geometry.
|
|
67
|
-
For more info see
|
|
67
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
68
68
|
size : float
|
|
69
69
|
Size of the geometry.
|
|
70
70
|
alpha : float
|
|
@@ -77,7 +77,7 @@ def joint_plot(data, x, y, *,
|
|
|
77
77
|
True - show the line of linear regression.
|
|
78
78
|
se : bool, default=True
|
|
79
79
|
Display confidence interval around regression line.
|
|
80
|
-
marginal : str
|
|
80
|
+
marginal : str, default='dens:r'
|
|
81
81
|
Description of marginal layers packed to string value.
|
|
82
82
|
Different marginals are separated by the ',' char.
|
|
83
83
|
Parameters of a marginal are separated by the ':' char.
|
|
@@ -97,11 +97,6 @@ def joint_plot(data, x, y, *,
|
|
|
97
97
|
`PlotSpec`
|
|
98
98
|
Plot object specification.
|
|
99
99
|
|
|
100
|
-
Notes
|
|
101
|
-
-----
|
|
102
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
103
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
104
|
-
|
|
105
100
|
Examples
|
|
106
101
|
--------
|
|
107
102
|
.. jupyter-execute::
|
lets_plot/bistro/qq.py
CHANGED
|
@@ -66,20 +66,20 @@ def qq_plot(data=None, sample=None, *, x=None, y=None,
|
|
|
66
66
|
"box : tr : .05, dens : bl".
|
|
67
67
|
color : str
|
|
68
68
|
Color of a points.
|
|
69
|
-
For more info see
|
|
69
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
70
70
|
fill : str
|
|
71
71
|
Color to paint shape's inner points. Is applied only to the points of shapes having inner points.
|
|
72
|
-
For more info see
|
|
72
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
73
73
|
alpha : float, default=0.5
|
|
74
74
|
Transparency level of points. Accept values between 0 and 1.
|
|
75
75
|
size : float, default=3.0
|
|
76
76
|
Size of the points.
|
|
77
77
|
shape : int
|
|
78
78
|
Shape of the points, an integer from 0 to 25.
|
|
79
|
-
For more info see
|
|
79
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
80
80
|
line_color : str, default='#FF0000'
|
|
81
81
|
Color of the fitting line.
|
|
82
|
-
For more info see
|
|
82
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
83
83
|
line_size : float, default=0.75
|
|
84
84
|
Width of the fitting line.
|
|
85
85
|
linetype : int or str or list
|
|
@@ -87,7 +87,7 @@ def qq_plot(data=None, sample=None, *, x=None, y=None,
|
|
|
87
87
|
Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'),
|
|
88
88
|
a hex string (up to 8 digits for dash-gap lengths),
|
|
89
89
|
or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...].
|
|
90
|
-
For more info see
|
|
90
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
91
91
|
|
|
92
92
|
Returns
|
|
93
93
|
-------
|
|
@@ -102,11 +102,6 @@ def qq_plot(data=None, sample=None, *, x=None, y=None,
|
|
|
102
102
|
If the two distributions being compared are similar, the points in the Q-Q plot
|
|
103
103
|
will approximately lie on the straight line.
|
|
104
104
|
|
|
105
|
-
----
|
|
106
|
-
|
|
107
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
108
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
109
|
-
|
|
110
105
|
Examples
|
|
111
106
|
--------
|
|
112
107
|
.. jupyter-execute::
|
lets_plot/bistro/residual.py
CHANGED
|
@@ -178,7 +178,7 @@ def residual_plot(data=None, x=None, y=None, *,
|
|
|
178
178
|
Applicable simultaneously for 'tile' geom and 'histogram' marginal.
|
|
179
179
|
color : str
|
|
180
180
|
Color of the geometry.
|
|
181
|
-
For more info see
|
|
181
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
182
182
|
size : float
|
|
183
183
|
Size of the geometry.
|
|
184
184
|
alpha : float
|
|
@@ -214,11 +214,6 @@ def residual_plot(data=None, x=None, y=None, *,
|
|
|
214
214
|
When using 'lm' and 'loess' methods,
|
|
215
215
|
this function requires the `statsmodels` and `scipy` libraries to be installed.
|
|
216
216
|
|
|
217
|
-
----
|
|
218
|
-
|
|
219
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
220
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
221
|
-
|
|
222
217
|
Examples
|
|
223
218
|
--------
|
|
224
219
|
.. jupyter-execute::
|
lets_plot/bistro/waterfall.py
CHANGED
|
@@ -40,11 +40,11 @@ def waterfall_plot(data, x, y, *,
|
|
|
40
40
|
Grouping variable. Each group calculates its own statistics.
|
|
41
41
|
color : str
|
|
42
42
|
Color of the box boundary lines.
|
|
43
|
-
For more info see
|
|
43
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
44
44
|
Use 'flow_type' to color lines by the direction of the flow.
|
|
45
45
|
fill : str
|
|
46
46
|
Fill color of the boxes.
|
|
47
|
-
For more info see
|
|
47
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
48
48
|
Use 'flow_type' to color boxes by the direction of the flow.
|
|
49
49
|
size : float, default=0.0
|
|
50
50
|
Line width of the box boundary lines.
|
|
@@ -55,7 +55,7 @@ def waterfall_plot(data, x, y, *,
|
|
|
55
55
|
Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'),
|
|
56
56
|
a hex string (up to 8 digits for dash-gap lengths),
|
|
57
57
|
or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...].
|
|
58
|
-
For more info see
|
|
58
|
+
For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
59
59
|
width : float, default=0.9
|
|
60
60
|
Width of the boxes. Typically range between 0 and 1.
|
|
61
61
|
Values that are greater than 1 lead to overlapping of the boxes.
|
|
@@ -110,7 +110,7 @@ def waterfall_plot(data, x, y, *,
|
|
|
110
110
|
- 'Num {}' -> 'Num 12.456789'
|
|
111
111
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
112
112
|
|
|
113
|
-
For more info see
|
|
113
|
+
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
114
114
|
|
|
115
115
|
Returns
|
|
116
116
|
-------
|