Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes in docstrings #841

Merged
merged 14 commits into from
Aug 9, 2023
Merged

Fixes in docstrings #841

merged 14 commits into from
Aug 9, 2023

Conversation

ASmirnov-HORIS
Copy link
Collaborator

@@ -142,6 +142,18 @@ def set(cls, settings: Dict):

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier in the docstring:

Geocoding settings could also be specified: ...

This is not "Geocoding settings".
Lets call it "Interactive map settings".

@@ -142,6 +142,18 @@ def set(cls, settings: Dict):

|

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also in this docstring:

LetsPlot.set(maptiles_lets_plot(theme='light'))

Doesn't seem correct, take a look at this notebook: https://datalore.jetbrains.com/report/static/HZqq77cegYd.E7get_WnChZ/05NSsbcsOYZMBN9n4JfKzL
We now are using constants like: tilesets.LETS_PLOT_LIGHT


We also need to add here a reference on our docpage: https://lets-plot.org/pages/basemap_tiles.html#basemap-tiles

@@ -150,12 +162,12 @@ def set(cls, settings: Dict):
LetsPlot.setup_html()
attribution = '''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls, replace this example with more common and simple LetsPlot.set(tilesets.STAMEN_DESIGN_TERRAIN).

@alshan alshan merged commit d844f61 into master Aug 9, 2023
@ASmirnov-HORIS ASmirnov-HORIS deleted the fix-docstrings branch August 10, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Failed to fetch" error on some https://lets-plot.org/pages/api/ pages
2 participants