JuliaPy / JuliaPy/PyCall.jl

Interactive plot missing with geoviews

Open
#1,011 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Hi,

I want to make an interactive plot with google map imagery as the base map. It works in python, but the plot is missing in Julia. Here is minimal example:

In Python:
```Python
from geoviews import element as elmt
GoogleMapsImagery = elmt.WMTS("https://mt1.google.com/vt/lyrs=s&x={X}&y={Y}&z={Z}",
name="GoogleMapsImagery")
GoogleMapsImagery
```
will generate a interactive map like
![image](https://user-images.githubusercontent.com/62387227/200244426-a201c8d3-dda8-419d-8888-42dd9b785202.png)

When converting it to Julia:
```Julia
using PyCall
elmt = pyimport("geoviews.element")
GoogleMapsImagery = elmt.WMTS("https://mt1.google.com/vt/lyrs=s&x={X}&y={Y}&z={Z}",
name="GoogleMapsImagery")
GoogleMapsImagery
```
No plot shows up. It only prints
```
PyObject :WMTS [Longitude,Latitude]
```

I am using Julia 1.8.2 and the PyCall.jl version is v1.94.1.
How to fix it? Thanks for your help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.