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

Marker=True in gmap.scatter don't work #57

Closed
ACinesi opened this issue Dec 10, 2017 · 2 comments · Fixed by #110
Closed

Marker=True in gmap.scatter don't work #57

ACinesi opened this issue Dec 10, 2017 · 2 comments · Fixed by #110
Assignees
Labels
bug Bug or defect. duplicate Duplicate of some other item.

Comments

@ACinesi
Copy link

ACinesi commented Dec 10, 2017

I think that the problem is how is generated the path. I searched in the generated html and I found that the path was:
C:\Python27\lib\site-packages\gmplot\markers/FF0000.png
I tried to change it manually in:
file:///C:/Python27/Lib/site-packages/gmplot/markers/FF0000.png
And it seems to work. Some comments about that??

@mvabdi
Copy link

mvabdi commented Dec 17, 2017

I figured it out, I think the issue is with the windows file system using forward slashes

Here's what I did to fix it without doing it manually every time

  1. Find your gmplot folder, which for you is :

C:\Python27\lib\site-packages\gmplot\

  1. Open up gmplot.py
  2. Find self.coloricon =
  3. Replace everything after the '=' sign with 'file:///' + os.path.dirname(__file__).replace('\\', '/') + '/markers/%s.png'
  4. When choosing a marker for your scatter method, choose one of the ones in the marker folder, other wise it doesnt work

and that's it

@frslm frslm added the bug Bug or defect. label Apr 25, 2020
@frslm frslm self-assigned this Apr 26, 2020
@frslm frslm linked a pull request Apr 26, 2020 that will close this issue
@frslm frslm added the duplicate Duplicate of some other item. label Apr 28, 2020
@frslm
Copy link
Contributor

frslm commented Apr 28, 2020

Duplicate of #18.

@frslm frslm closed this as completed in #110 May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or defect. duplicate Duplicate of some other item.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants