Skip to content

Commit

Permalink
Add comment about using default path.
Browse files Browse the repository at this point in the history
  • Loading branch information
RYangazov committed Mar 6, 2024
1 parent 699aad3 commit a5a2af8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions python-package/lets_plot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,12 @@ def setup_show_ext(cls, *,
.. code-block::
:linenos:
:emphasize-lines: 3
:emphasize-lines: 4
# Show the plot in the Chrome web browser for Windows.
# This is the default setup path. Replace the file path with your own if it differs.
from lets_plot import *
LetsPlot.setup_show_ext(exec = 'chrome.exe --app=%s')
LetsPlot.setup_show_ext(exec = 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe --app=%s')
p = ggplot() + geom_point(x=0, y=0)
p.show()
Expand All @@ -253,9 +254,10 @@ def setup_show_ext(cls, *,
.. code-block::
:linenos:
:emphasize-lines: 3
:emphasize-lines: 4
# Show the plot in the Chrome web browser for macOS in the application mode.
# This is the default setup path. Replace the path with your own if it differs.
from lets_plot import *
LetsPlot.setup_show_ext(exec = '/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --app=%s')
p = ggplot() + geom_point(x=0, y=0)
Expand Down

0 comments on commit a5a2af8

Please sign in to comment.