plotly.express.line_mapbox — 5.24.0 documentation (2024)

  • data_frame (DataFrame or array-like or dict) – This argument needs to be passed for column names (and not keywordnames) to be used. Array-like and dict are transformed internally to apandas DataFrame. Optional: if missing, a DataFrame gets constructedunder the hood using the other arguments.

  • lat (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used toposition marks according to latitude on a map.

  • lon (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used toposition marks according to longitude on a map.

  • color (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used toassign color to marks.

  • text (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like appear in thefigure as text labels.

  • hover_name (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like appear in boldin the hover tooltip.

  • hover_data (str, or list of str or int, or Series or array-like, or dict) – Either a name or list of names of columns in data_frame, or pandasSeries, or array_like objects or a dict with column names as keys, withvalues True (for default formatting) False (in order to remove thiscolumn from hover information), or a formatting string, for example‘:.3f’ or ‘|%a’ or list-like data to appear in the hover tooltip ortuples with a bool or formatting string as first element, and list-likedata to appear in hover as second element Values from these columnsappear as extra data in the hover tooltip.

  • custom_data (str, or list of str or int, or Series or array-like) – Either name or list of names of columns in data_frame, or pandasSeries, or array_like objects Values from these columns are extra data,to be used in widgets or Dash callbacks for example. This data is notuser-visible but is included in events emitted by the figure (lassoselection etc.)

  • line_group (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used togroup rows of data_frame into lines.

  • animation_frame (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used toassign marks to animation frames.

  • animation_group (str or int or Series or array-like) – Either a name of a column in data_frame, or a pandas Series orarray_like object. Values from this column or array_like are used toprovide object-constancy across animation frames: rows with matching`animation_group`s will be treated as if they describe the same objectin each frame.

  • category_orders (dict with str keys and list of str values (default {})) – By default, in Python 3.6+, the order of categorical values in axes,legends and facets depends on the order in which these values are firstencountered in data_frame (and no order is guaranteed by default inPython below 3.6). This parameter is used to force a specific orderingof values per column. The keys of this dict should correspond to columnnames, and the values should be lists of strings corresponding to thespecific display order desired.

  • labels (dict with str keys and str values (default {})) – By default, column names are used in the figure for axis titles, legendentries and hovers. This parameter allows this to be overridden. Thekeys of this dict should correspond to column names, and the valuesshould correspond to the desired label to be displayed.

  • color_discrete_sequence (list of str) – Strings should define valid CSS-colors. When color is set and thevalues in the corresponding column are not numeric, values in thatcolumn are assigned colors by cycling through color_discrete_sequencein the order described in category_orders, unless the value ofcolor is a key in color_discrete_map. Various useful colorsequences are available in the plotly.express.colors submodules,specifically plotly.express.colors.qualitative.

  • color_discrete_map (dict with str keys and str values (default {})) – String values should define valid CSS-colors Used to overridecolor_discrete_sequence to assign a specific colors to markscorresponding with specific values. Keys in color_discrete_map shouldbe values in the column denoted by color. Alternatively, if thevalues of color are valid colors, the string 'identity' may bepassed to cause them to be used directly.

  • zoom (int (default 8)) – Between 0 and 20. Sets map zoom level.

  • center (dict) – Dict keys are 'lat' and 'lon' Sets the center point of the map.

  • mapbox_style (str (default 'basic', needs Mapbox API token)) – Identifier of base map style, some of which require a Mapbox or StadiaMaps API token to be set usingplotly.express.set_mapbox_access_token(). Allowed values which do notrequire a token are 'open-street-map', 'white-bg', 'carto-positron', 'carto-darkmatter'. Allowed values which require a MapboxAPI token are 'basic', 'streets', 'outdoors', 'light','dark', 'satellite', 'satellite-streets'. Allowed values whichrequire a Stadia Maps API token are 'stamen-terrain', 'stamen-toner', 'stamen-watercolor'.

  • title (str) – The figure title.

  • template (str or dict or plotly.graph_objects.layout.Template instance) – The figure template name (must be a key in plotly.io.templates) ordefinition.

  • width (int (default None)) – The figure width in pixels.

  • height (int (default None)) – The figure height in pixels.

plotly.express.line_mapbox —  5.24.0 documentation (2024)
Top Articles
Barbarian Leveling Guide
Last Epoch: How To Get A Rune Of Shaping
13 Easy Ways to Get Level 99 in Every Skill on RuneScape (F2P)
Kaydengodly
Don Wallence Auto Sales Vehicles
50 Meowbahh Fun Facts: Net Worth, Age, Birthday, Face Reveal, YouTube Earnings, Girlfriend, Doxxed, Discord, Fanart, TikTok, Instagram, Etc
Localfedex.com
South Carolina defeats Caitlin Clark and Iowa to win national championship and complete perfect season
The Weather Channel Facebook
Job Shop Hearthside Schedule
Sivir Urf Runes
fort smith farm & garden - craigslist
Wilmot Science Training Program for Deaf High School Students Expands Across the U.S.
Booknet.com Contract Marriage 2
Caledonia - a simple love song to Scotland
Quadcitiesdaily
Puss In Boots: The Last Wish Showtimes Near Cinépolis Vista
Joan M. Wallace - Baker Swan Funeral Home
Living Shard Calamity
Danielle Ranslow Obituary
Bento - A link in bio, but rich and beautiful.
Znamy dalsze plany Magdaleny Fręch. Nie będzie nawet chwili przerwy
Amerisourcebergen Thoughtspot 2023
Preggophili
Safeway Aciu
Tactical Masters Price Guide
Lilpeachbutt69 Stephanie Chavez
Till The End Of The Moon Ep 13 Eng Sub
2487872771
Kokomo Mugshots Busted
Lowell Car Accident Lawyer Kiley Law Group
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
Edward Walk In Clinic Plainfield Il
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
The Boogeyman Showtimes Near Surf Cinemas
State Legislatures Icivics Answer Key
Dmitri Wartranslated
Wattengel Funeral Home Meadow Drive
Tirage Rapid Georgia
Gravel Racing
Wal-Mart 140 Supercenter Products
Torrid Rn Number Lookup
Traumasoft Butler
Streameast Io Soccer
Neil Young - Sugar Mountain (2008) - MusicMeter.nl
Wisconsin Volleyball titt*es
Secrets Exposed: How to Test for Mold Exposure in Your Blood!
60 Days From August 16
Cheryl Mchenry Retirement
E. 81 St. Deli Menu
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6070

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.