JuliaPy / JuliaPy/PyCall.jl

Interactive plot missing with geoviews

Aperta
#1,011 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Reproduce the minimal geoviews WMTS example with Julia 1.8.2, PyCall.jl v1.94.1, and the shown Python and Julia snippets. Start by tracing how the returned WMTS PyObject is displayed in Julia; done means the Julia expression renders the expected interactive map instead of only printing its object representation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia, python
Ambito
data-visualization
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.