-
Notifications
You must be signed in to change notification settings - Fork 25
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
Replace the use of stamen tiles in the repo #451
Conversation
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
It'd be nice if you could post screenshots of the new plots so we can see if the basemap colors don't confict too much with the data colors. |
6a2968f
to
5406d3d
Compare
Thanks @Azaya89! The comparison with the old maps doesn't really apply as the Stamen maps can no longer be loaded. You can visit for example the ML Annotator example and verify in your browser that the requests made to get the Stamen tiles fail. This example seems to have an overlay of tiles (ESRI * Stamen). |
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
Datashader dashboard nowShip traffic nowML_annotators nowWhen you zoom in, the labels also update dynamically. |
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ship_traffic/ship_traffic.ipynb
Outdated
@@ -509,7 +514,7 @@ | |||
"sopts = dict(start=0, end=1, sizing_mode='stretch_width')\n", | |||
"map_opacity = pn.widgets.FloatSlider(value=0.7, name=\"Map opacity\", **sopts)\n", | |||
"data_opacity = pn.widgets.FloatSlider(value=1.0, name=\"Data opacity\", **sopts)\n", | |||
"label_opacity = pn.widgets.FloatSlider(value=0.9, name=\"Label opacity\", **sopts)\n", | |||
"label_opacity = pn.widgets.FloatSlider(value=0.3, name=\"Label opacity\", **sopts)\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Maybe the CartoDB.VoyagerOnlyLabels would show up better? I haven't tried it myself.
Also, what's up with the data rendering resolution? :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, what's up with the data rendering resolution? :-)
It's a screenshot from the website after zooming in :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't spot a difference between those two; are you sure they are different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure. I too, can't see any visual difference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relocking can have some unwanted consequences, specially for projects like this that are stuck in the past. Can you make sure the notebook run fine locally please? (it might pass the tests fine but still be somewhat in a broken state).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remind me why that project is stuck in the past? IIRC it's a quite simple project that I'd think was easy to update, but I don't know the constraints here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The NG SDG grant wasn't enough funding to update all the examples so we haven't touch them all, like this one. PRs are welcome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure the notebook run fine locally please? (it might pass the tests fine but still be somewhat in a broken state).
It ran locally fine before I pushed the commit. I usually do all the necessary pre-checks after re-locking to make sure nothing has broken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remind me why that project is stuck in the past? IIRC it's a quite simple project that I'd think was easy to update, but I don't know the constraints here.
I can open separate PRs for updating the example, but I think we should finish up the tiles replacements here first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure the notebook run fine locally please? (it might pass the tests fine but still be somewhat in a broken state).
It ran locally fine before I pushed the commit. I usually do all the necessary pre-checks after re-locking to make sure nothing has broken.
Nice, perfect! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remind me why that project is stuck in the past? IIRC it's a quite simple project that I'd think was easy to update, but I don't know the constraints here.
I can open separate PRs for updating the example, but I think we should finish up the tiles replacements here first?
Updating the examples is an endless business :) datashader_dashboard
was assigned priority 3 on our NF SDG sheet (from 1 to 6) and we didn't have enough time to get there (we updated almost half of them, not bad!). It's also special as @jbednar has an old PR that should be incorporated (#67).
My take is:
- let's focus on wrapping up all the work we've started part of the NF SDG
- additionally, let's complete Plan to V2 #383 that includes work I started a long time ago (making all the examples "compliant", still 2 on that list)
- once we're done with that, let's advertise it, I'd like to see these numbers increase https://holoviz.goatcounter.com/?hl-period=month&period-start=2024-10-28&period-end=2024-11-28&filter=%2Fexamples.holoviz.org&daily=off
After that, let's take a breather and later re-assign priorities. We're a much larger team compared to when I joined, others could get involved more to help maintain the examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. By "stuck in the past" I thought you meant something was keeping it there other than the length of our to-do list. That's fine!
Sure. |
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for fixing this problem! If we're going to use the PositronOnly labels throughout our examples, should we add them to HoloViews/GeoViews tile sources so that we don't have to "import xyzservices.providers as xyz" and have that dependency? Fine if not, but if others agree, please file an issue to move in that direction in subsequent releases. |
The use of stamen tiles in the census example will be done under #430