René's URL Explorer Experiment


Title: ScatterMapbox subplots not working · Issue #1728 · plotly/plotly.py · GitHub

Open Graph Title: ScatterMapbox subplots not working · Issue #1728 · plotly/plotly.py

X Title: ScatterMapbox subplots not working · Issue #1728 · plotly/plotly.py

Description: Hi, First of all thank you for making plotly. It's amazing. I've been trying to make a subplot of ScatterMapbox (e.g.: Two maps, one below the other) without success. I'm trying this in a jupyter notebook: linux debian buster Firefox 68....

Open Graph Description: Hi, First of all thank you for making plotly. It's amazing. I've been trying to make a subplot of ScatterMapbox (e.g.: Two maps, one below the other) without success. I'm trying this in a jupyter n...

X Description: Hi, First of all thank you for making plotly. It's amazing. I've been trying to make a subplot of ScatterMapbox (e.g.: Two maps, one below the other) without success. I'm trying this in...

Opengraph URL: https://github.com/plotly/plotly.py/issues/1728

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ScatterMapbox subplots not working","articleBody":"Hi,\r\nFirst of all thank you for making plotly. It's amazing.\r\nI've been trying to make a subplot of ScatterMapbox (e.g.: Two maps, one below the other) without success. I'm trying this in a jupyter notebook:\r\n- linux debian buster\r\n- Firefox 68.0.1\r\n- python 3.6.9\r\n- jupyter 1.0.0\r\n- plotly 4.1.0\r\n\r\nThe code I use is:\r\n```python\r\nfig = make_subplots(\r\n    rows=2, cols=1,\r\n    specs=[[{'type': 'mapbox'}],[{'type': 'mapbox'}]],\r\n    subplot_titles=('Montreal 1','Montreal 2'),\r\n)\r\n\r\nfig.add_trace(go.Scattermapbox(\r\n        lat=['45.5017'],\r\n        lon=['-73.5673'],\r\n        mode='markers',\r\n        marker=go.scattermapbox.Marker(\r\n            size=14\r\n        ),\r\n        text=['Montreal'],\r\n    ), row=1, col=1\r\n)\r\n\r\n\r\nfig.add_trace(go.Scattermapbox(\r\n        lat=['45.6017'],\r\n        lon=['-73.7673'],\r\n        mode='markers',\r\n        marker=go.scattermapbox.Marker(\r\n            size=14\r\n        ),\r\n        text=['Montreal 2'],\r\n    ), row=2, col=1\r\n             )\r\n\r\nfig.update_layout(\r\n    hovermode='closest',\r\n    mapbox=go.layout.Mapbox(\r\n        accesstoken=mapbox_access_token,\r\n        bearing=0,\r\n        center=go.layout.mapbox.Center(\r\n            lat=45,\r\n            lon=-73\r\n        ),\r\n        pitch=0,\r\n        zoom=5\r\n    )\r\n)\r\n\r\nfig.show()\r\n```\r\nThis results in an empty map:\r\n![Screenshot from 2019-08-19 20-04-14](https://user-images.githubusercontent.com/7479071/63288261-8c009780-c2bc-11e9-9e1e-8bf9048decf6.png)\r\nIn my browser console I have:\r\n```\r\nError: No valid mapbox style found, please set `mapbox.style` to one of:\r\nopen-street-map, white-bg, carto-positron, carto-darkmatter, stamen-terrain, stamen-toner, stamen-watercolor\r\nor register a Mapbox access token to use a Mapbox-served style.\r\n```\r\nPassing a `mapbox_style` to the layout does not seem to solve the issue.\r\n\r\nNote that running the simple montreal example from the doc works properly, even adding a single map to the subplot works too:\r\n```python\r\nfig = make_subplots(\r\n    rows=2, cols=1,\r\n    specs=[[{\"type\": \"mapbox\"}],[{\"type\": \"mapbox\"}]],\r\n    subplot_titles=(\"Montreal 1\",\"Montreal 2\"),\r\n)\r\n\r\nfig.add_trace(go.Scattermapbox(\r\n        lat=['45.5017'],\r\n        lon=['-73.5673'],\r\n        mode='markers',\r\n        marker=go.scattermapbox.Marker(\r\n            size=14\r\n        ),\r\n        text=['Montreal'],\r\n    ), row=1, col=1\r\n)\r\n\r\nfig.update_layout(\r\n    hovermode='closest',\r\n    mapbox=go.layout.Mapbox(\r\n        accesstoken=mapbox_access_token,\r\n        bearing=0,\r\n        center=go.layout.mapbox.Center(\r\n            lat=45,\r\n            lon=-73\r\n        ),\r\n        pitch=0,\r\n        zoom=5\r\n    )\r\n)\r\n\r\nfig.show()\r\n```\r\nI've tried passing multiple `Scattermapbox` to a figure's data but this results in two mapbox layers in the same map. At this point I'm starting to think that subplots are not supported with scattermapbox but as could not find anything regarding this in the docs,  I'm probably missing something.\r\n","author":{"url":"https://github.com/Timost","@type":"Person","name":"Timost"},"datePublished":"2019-08-19T18:13:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/1728/plotly.py/issues/1728"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:51fe102a-fa25-932d-4b43-28088c15f1e8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB664:3E5B83:110D882:189A301:6A58A604
html-safe-nonceeb98d3445387d2e6456659d72bf4674ad66610a49bdbe5f348c2af09089f9b5e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjY0OjNFNUI4MzoxMTBEODgyOjE4OUEzMDE6NkE1OEE2MDQiLCJ2aXNpdG9yX2lkIjoiMjExNzM2MjU0NDc5OTAyMjEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbb82c97172e3cc6ae0d80c0af4f637946ee9f236bd5a0bdcb39aa3363810093c
hovercard-subject-tagissue:482454733
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.py/1728/issue_layout
twitter:imagehttps://opengraph.githubassets.com/33e24d53536f17e3a42f6b47cff904b24796e524bb0fed8c46f7b7ba216491a6/plotly/plotly.py/issues/1728
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/33e24d53536f17e3a42f6b47cff904b24796e524bb0fed8c46f7b7ba216491a6/plotly/plotly.py/issues/1728
og:image:altHi, First of all thank you for making plotly. It's amazing. I've been trying to make a subplot of ScatterMapbox (e.g.: Two maps, one below the other) without success. I'm trying this in a jupyter n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTimost
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579099
octolytics-dimension-repository_nwoplotly/plotly.py
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579099
octolytics-dimension-repository_network_root_nwoplotly/plotly.py
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/1728#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F1728
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F1728
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.py
Reloadhttps://github.com/plotly/plotly.py/issues/1728
Reloadhttps://github.com/plotly/plotly.py/issues/1728
Reloadhttps://github.com/plotly/plotly.py/issues/1728
Please reload this pagehttps://github.com/plotly/plotly.py/issues/1728
plotly https://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Please reload this pagehttps://github.com/plotly/plotly.py/issues/1728
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.py
Fork 2.8k https://github.com/login?return_to=%2Fplotly%2Fplotly.py
Star 18.7k https://github.com/login?return_to=%2Fplotly%2Fplotly.py
Code https://github.com/plotly/plotly.py
Issues 722 https://github.com/plotly/plotly.py/issues
Pull requests 54 https://github.com/plotly/plotly.py/pulls
Actions https://github.com/plotly/plotly.py/actions
Security and quality 0 https://github.com/plotly/plotly.py/security
Insights https://github.com/plotly/plotly.py/pulse
Code https://github.com/plotly/plotly.py
Issues https://github.com/plotly/plotly.py/issues
Pull requests https://github.com/plotly/plotly.py/pulls
Actions https://github.com/plotly/plotly.py/actions
Security and quality https://github.com/plotly/plotly.py/security
Insights https://github.com/plotly/plotly.py/pulse
ScatterMapbox subplots not workinghttps://github.com/plotly/plotly.py/issues/1728#top
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/Timost
Timosthttps://github.com/Timost
on Aug 19, 2019https://github.com/plotly/plotly.py/issues/1728#issue-482454733
https://user-images.githubusercontent.com/7479071/63288261-8c009780-c2bc-11e9-9e1e-8bf9048decf6.png
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.