lets-plot 4.6.0rc1__cp312-cp312-macosx_11_0_arm64.whl → 4.6.2__cp312-cp312-macosx_11_0_arm64.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/_version.py +1 -1
- lets_plot/bistro/im.py +1 -1
- lets_plot/export/ggsave_.py +1 -1
- lets_plot/frontend_context/_configuration.py +8 -1
- lets_plot/geo_data/__init__.py +2 -1
- lets_plot/package_data/lets-plot.min.js +1 -1
- lets_plot/plot/geom.py +84 -46
- lets_plot/plot/geom_livemap_.py +2 -22
- lets_plot/plot/ggtb_.py +0 -1
- lets_plot/plot/pos.py +6 -1
- lets_plot/plot/theme_.py +17 -14
- lets_plot/tilesets.py +69 -4
- {lets_plot-4.6.0rc1.dist-info → lets_plot-4.6.2.dist-info}/METADATA +40 -45
- {lets_plot-4.6.0rc1.dist-info → lets_plot-4.6.2.dist-info}/RECORD +18 -18
- {lets_plot-4.6.0rc1.dist-info → lets_plot-4.6.2.dist-info}/WHEEL +1 -1
- lets_plot_kotlin_bridge.cpython-312-darwin.so +0 -0
- {lets_plot-4.6.0rc1.dist-info → lets_plot-4.6.2.dist-info/licenses}/LICENSE +0 -0
- {lets_plot-4.6.0rc1.dist-info → lets_plot-4.6.2.dist-info}/top_level.txt +0 -0
lets_plot/_version.py
CHANGED
lets_plot/bistro/im.py
CHANGED
lets_plot/export/ggsave_.py
CHANGED
|
@@ -27,7 +27,7 @@ def ggsave(plot: Union[PlotSpec, SupPlotsSpec, GGBunch], filename: str, *, path:
|
|
|
27
27
|
|
|
28
28
|
Parameters
|
|
29
29
|
----------
|
|
30
|
-
plot : `PlotSpec`
|
|
30
|
+
plot : `PlotSpec`
|
|
31
31
|
Plot specification to export.
|
|
32
32
|
filename : str
|
|
33
33
|
The name of file. It must end with a file extension corresponding
|
|
@@ -94,9 +94,16 @@ def _display_plot(spec: Any):
|
|
|
94
94
|
:param spec: PlotSpec or GGBunch object
|
|
95
95
|
"""
|
|
96
96
|
if not (isinstance(spec, PlotSpec) or isinstance(spec, SupPlotsSpec) or isinstance(spec, GGBunch)):
|
|
97
|
-
raise ValueError("PlotSpec
|
|
97
|
+
raise ValueError("PlotSpec or SupPlotsSpec expected but was: {}".format(type(spec)))
|
|
98
98
|
|
|
99
99
|
if _default_mimetype == TEXT_HTML:
|
|
100
|
+
if TEXT_HTML not in _frontend_contexts:
|
|
101
|
+
raise RuntimeError(
|
|
102
|
+
"HTML frontend not configured. Before displaying plots, please call either:\n"
|
|
103
|
+
"- LetsPlot.setup_html() for displaying HTML output inplace\n"
|
|
104
|
+
"- LetsPlot.setup_show_ext() for displaying HTML output in an external web browser\n"
|
|
105
|
+
)
|
|
106
|
+
|
|
100
107
|
if isinstance(_frontend_contexts[TEXT_HTML], WebBrHtmlPageContext):
|
|
101
108
|
_frontend_contexts[TEXT_HTML].show(spec.as_dict())
|
|
102
109
|
return
|
lets_plot/geo_data/__init__.py
CHANGED