JuliaPy / JuliaPy/PyCall.jl

Never returning when using folium's png export

Open
#941 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

```julia
using PyCall
flm = pyimport("folium") # Python package that could be installed through something like `python3 -m pip install folium `
m = flm.Map(location=[40.761405212565364, -73.98312095111525], zoom_start=16)
data = m._to_png(5)
```
The last statement `m._to_png(5)` blocks the REPL and never exists.

the equivalent pure python code, works with no issue. I am not sure what is going on here!

```python
import folium as flm
m = flm.Map(location=(40.761405212565364, -73.98312095111525), zoom_start=16)
data = m._to_png(5)
```

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.