Comments (9)
@rvlander thanks for the bug report! Were you able to successfully load the local file into a dataframe in the prior cells in the example notebook?
from mapboxgl-jupyter.
@ryanbaumann, yes, I just had to generate color breaks manually since jenks
seems broken.
I also tried with my data (before trying your example), and nothing was showing up too.
from mapboxgl-jupyter.
Just tested with Firefox, the problem remains.
from mapboxgl-jupyter.
Interesting @rvlander. Please try upgrading to mapboxgl 0.0.3
via pip, which I just released on Pypi.
- Do you see any javascript error messages in your console? Please paste here if so.
- What is the output of the viz.create_html() command if you run it in cell 11?
Down the element there should be a bunch of geojson data after the map.addSource()
command
from mapboxgl-jupyter.
There are no errors displayed in the javascript console.
Here is a part the generated html:
from mapboxgl-jupyter.
@rvlander interesting. I was able to re-create on a fresh machine that couldn't install the C-binding version of jenks.
I updated the example in the master branch to use a slow
but python-only version of jenks. Let me know if that works on the current master branch!
from mapboxgl-jupyter.
@ryanbaumann, plots are now displayed using the example notebook. I had to replace xrange
calls by range
: I am using Python 3.
However, what did it had to do with the colour stops?
What if I want to display plots with the same colour (using no property)?
from mapboxgl-jupyter.
-
What values did you use for your color stops when you were unable to see the points plotted on the map?
-
Can you open up a new ticket to track the issue below:
What if I want to display plots with the same colour (using no property)?
from mapboxgl-jupyter.
The latest examples
notebook now uses the PySAL library to calculate data domain breaks. Check out the example in the latest master branch and here
from mapboxgl-jupyter.
Related Issues (20)
- Mapbox Jupyter doesn't render ChoroplethViz HOT 7
- New feature to edit colour legends title
- TemplateNotFound in conda environment HOT 7
- Coverage/Coveralls hangs indefinitely HOT 1
- Examples don't work as shown, due to Jupyter "Blocking request with no referer" HOT 5
- Support MapboxGL 'step' expression for color and height function types HOT 5
- Is there a way to hide the "token = os.getenv('MAPBOX_ACCESS_TOKEN')" HOT 5
- Will Mapbox add support for JupyterLab? HOT 6
- Please add interactive callback events to this widget.
- Adding search for map HOT 1
- Heat Map in time HOT 3
- Subplot support HOT 4
- How to hide the legends for GraduatedCircleViz? HOT 1
- Example displays base map but not points HOT 2
- any chance multiple viz can be combined in a single view? HOT 1
- viz.create_html() rounds lat/lng to 4 decimal places which drops accuracy to 11m
- How to hide null/Nan values on a CircleViz ? HOT 3
- Uncaught Error: An API access token is required to use Mapbox GL.
- Mapboxgl cannot be imported on Windows 10 after conda install
- mapbox doesn't render points on jupyter notebook running on Databricks. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapboxgl-jupyter.