plotly.express.line_geo — 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.

  • locations (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 to beinterpreted according to locationmode and mapped tolongitude/latitude.

  • locationmode (str) – One of ‘ISO-3’, ‘USA-states’, or ‘country names’ Determines the set oflocations used to match entries in locations to regions on the map.

  • geojson (GeoJSON-formatted dict) – Must contain a Polygon feature collection, with IDs, which arereferences from locations.

  • featureidkey (str (default: 'id')) – Path to field in GeoJSON feature object with which to match the valuespassed in to locations.The most common alternative to the default isof the form 'properties.<key>.

  • 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.

  • line_dash (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 dash-patterns to lines.

  • 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.

  • facet_row (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 facetted subplots in the vertical direction.

  • facet_col (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 facetted subplots in the horizontal direction.

  • facet_col_wrap (int) – Maximum number of facet columns. Wraps the column variable at thiswidth, so that the column facets span multiple rows. Ignored if 0, andforced to 0 if facet_row or a marginal is set.

  • facet_row_spacing (float between 0 and 1) – Spacing between facet rows, in paper units. Default is 0.03 or 0.07when facet_col_wrap is used.

  • facet_col_spacing (float between 0 and 1) – Spacing between facet columns, in paper units Default is 0.02.

  • 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.

  • symbol (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 symbols to marks.

  • 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.

  • line_dash_sequence (list of str) – Strings should define valid plotly.js dash-patterns. When line_dashis set, values in that column are assigned dash-patterns by cyclingthrough line_dash_sequence in the order described incategory_orders, unless the value of line_dash is a key inline_dash_map.

  • line_dash_map (dict with str keys and str values (default {})) – Strings values define plotly.js dash-patterns. Used to overrideline_dash_sequences to assign a specific dash-patterns to linescorresponding with specific values. Keys in line_dash_map should bevalues in the column denoted by line_dash. Alternatively, if thevalues of line_dash are valid line-dash names, the string'identity' may be passed to cause them to be used directly.

  • symbol_sequence (list of str) – Strings should define valid plotly.js symbols. When symbol is set,values in that column are assigned symbols by cycling throughsymbol_sequence in the order described in category_orders, unlessthe value of symbol is a key in symbol_map.

  • symbol_map (dict with str keys and str values (default {})) – String values should define plotly.js symbols Used to overridesymbol_sequence to assign a specific symbols to marks correspondingwith specific values. Keys in symbol_map should be values in thecolumn denoted by symbol. Alternatively, if the values of symbolare valid symbol names, the string 'identity' may be passed to causethem to be used directly.

  • markers (boolean (default False)) – If True, markers are shown on lines.

  • projection (str) – One of 'equirectangular', 'mercator', 'orthographic', 'naturalearth', 'kavrayskiy7', 'miller', 'robinson', 'eckert4','azimuthal equal area', 'azimuthal equidistant', 'conic equalarea', 'conic conformal', 'conic equidistant', 'gnomonic','stereographic', 'mollweide', 'hammer', 'transverse mercator','albers usa', 'winkel tripel', 'aitoff', or 'sinusoidal'`Defaultdepends on `scope.

  • scope (str (default 'world').) – One of 'world', 'usa', 'europe', 'asia', 'africa', 'northamerica', or 'south america'`Default is `'world' unless projectionis set to 'albers usa', which forces 'usa'.

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

  • fitbounds (str (default False).) – One of False, locations or geojson.

  • basemap_visible (bool) – Force the basemap visibility.

  • 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_geo —  5.24.0 documentation (2024)
Top Articles
Genuine Hyundai Sonata Drive Belt
2011 Hyundai Sonata 2 4 Serpentine Belt Diagram
122242843 Routing Number BANK OF THE WEST CA - Wise
Remnant Graveyard Elf
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Signs Of a Troubled TIPM
Nashville Predators Wiki
7 Low-Carb Foods That Fill You Up - Keto Tips
Directions To 401 East Chestnut Street Louisville Kentucky
Telegram Scat
Craigslist Panama City Fl
Xxn Abbreviation List 2023
How Much Is Tay Ks Bail
Nhl Tankathon Mock Draft
Skip The Games Fairbanks Alaska
Theater X Orange Heights Florida
Weve Got You Surrounded Meme
2021 MTV Video Music Awards: See the Complete List of Nominees - E! Online
European Wax Center Toms River Reviews
Pixel Combat Unblocked
Criglist Miami
Himekishi Ga Classmate Raw
Paradise Point Animal Hospital With Veterinarians On-The-Go
The Creator Showtimes Near Baxter Avenue Theatres
Ipcam Telegram Group
Ringcentral Background
Ff14 Sage Stat Priority
Devotion Showtimes Near The Grand 16 - Pier Park
South Florida residents must earn more than $100,000 to avoid being 'rent burdened'
Bee And Willow Bar Cart
Jr Miss Naturist Pageant
Senior Houses For Sale Near Me
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
Does Iherb Accept Ebt
Domina Scarlett Ct
Whitehall Preparatory And Fitness Academy Calendar
The Vélodrome d'Hiver (Vél d'Hiv) Roundup
Kazwire
Craigslist Jobs Brownsville Tx
D-Day: Learn about the D-Day Invasion
Yogu Cheshire
craigslist: modesto jobs, apartments, for sale, services, community, and events
Firestone Batteries Prices
Yale College Confidential 2027
Gas Buddy Il
Walmart Careers Stocker
The Cutest Photos of Enrique Iglesias and Anna Kournikova with Their Three Kids
Actress Zazie Crossword Clue
18 Seriously Good Camping Meals (healthy, easy, minimal prep! )
Mmastreams.com
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Craigslist Charlestown Indiana
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6068

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.