CINXE.COM

Contour traces in R

<!DOCTYPE html> <html> <head> <!-- This page was last built at 2025-03-21 13:39 --> <meta charset="utf-8" /> <link rel="canonical" href="https://plotly.com/r/reference/contour/" /> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,500&display=swap" rel="stylesheet" /> <!-- Media query magic - http://stackoverflow.com/questions/19945658/my-iphone-thinks-its-980px-wide --> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script src="/all_static/javascripts/algolia/instantsearch.js"></script> <script src="/all_static/javascripts/algolia/polyfill.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script> const theme = localStorage.getItem('theme'); if (theme === "dark-mode") { var root = document.getElementsByTagName('html')[0]; // '0' to assign the first (and only `HTML` tag) root.setAttribute('class', 'dark-mode'); } </script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" crossorigin="anonymous"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" crossorigin="anonymous"></script> <link href="https://esm.sh/@markprompt/css@0.18.0?css" rel="stylesheet" /> <link href="/all_static/css/markprompt.css" rel="stylesheet" /> <!-- //// Stylesheets --> <!-- Fonts --> <link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic|Ubuntu+Mono:400,700|Asap" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" /> <!-- Main Stylesheets --> <link rel="stylesheet" type="text/css" href="/all_static/css/main.css?version=false" /> <link rel="stylesheet" type="text/css" href="/all_static/css/improve.css?version=2025-03-21-13-39"> <!-- LOCAL DEV STYLESHEET --> <!--<link rel="stylesheet" type="text/css" href="http://api.plotly.dev/all_static/css/main.css">--> <!-- Icon --> <link rel="shortcut icon" href="https://dash.plotly.com/assets/favicon.ico" /> <!-- Google Tags--> <!-- Google Tag Manager Tag --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-N6T2RXG');</script> <!-- META TAGS --> <!-- Capture language --> <!-- Create a title --> <!-- Count number of plots on the page --> <!-- SEO Tags - title, meta_description --> <title> Contour traces in R </title> <meta name="description" content=Figure attribute reference for Plotly's R open-source graphing library.> <!-- Bing tags --> <meta name="msvalidate.01" content="D319859A832F9F1D15A7646E2A42150A" /> <!-- Facebook tags --> <meta property="og:title" content= Contour traces in R /> <meta property="og:type" content="website"/> <meta property="og:image" content="https://help.plot.ly/images/twitter-default.png"> <meta property="og:description" content=Figure attribute reference for Plotly's R open-source graphing library./> <meta property="og:url" /> <meta property="fb:admins" content="1123751525"/> <meta property="fb:admins" content="22418"/> <!-- twitter tags --> <meta name="twitter:card" content="photo" /> <meta name="twitter:title" content= Contour traces in R /> <meta name="twitter:url" content="https://plotly.com//r/reference/contour/"/> <meta name="twitter:description" content=Figure attribute reference for Plotly's R open-source graphing library./> <meta name="twitter:image" content="https://help.plot.ly/images/twitter-default.png"> <meta name="twitter:site" content="@plotlygraphs"/> </head> <body class="darkmode"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N6T2RXG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div class="menu-mobile"> <div class="switch-mode"> <div class="icon-dark"></div> <div class="switch"></div> <div class="icon-light"></div> </div> <div class="close-menu"></div> <ul> <li><a style="font-weight: bold;" href="https://community.plotly.com/c/plotly-r-matlab-julia-net/29">Forum</a> </li> <li><a style="font-weight: bold;" href="https://plotly.com/get-pricing/">Pricing</a></li> <li><a style="font-weight: bold;" href="https://dash.plotly.com">Dash</a></li> <!--<li><a style="font-weight: bold;" href="http://plotly.cloud">Dash Cloud</a></li>--> </ul> </div> <div class="header-container"> <header class="header-main --default"> <div class="--wrap"> <div class="--wrap-left"> <div class="-identity"> <a href="https://plotly.com/"><img src="/all_static/images/graphing_library_dark.svg" style="height: 30px;" class="logo-dark"></a> <a href="/graphing-libraries/"><img src="/all_static/images/graphing_library.svg" style="height: 30px;" class="logo-white"></a> </div> </div> <div class="--wrap-right"> <nav class="--nav-meta" role="navigation"> <ul> <li class="languages"> <a class="r"> <div class="icon"></div> R </a> <ul> <li> <a href="https://plotly.com/python/" class="python"> <div class="icon"></div>Python (v6.0.1) </a> </li> <li> <a href="https://plotly.com/r/" class="r"> <div class="icon"></div>R </a> </li> <li> <a href="https://plotly.com/julia/" class="julia"> <div class="icon"></div>Julia </a> </li> <li> <a href="https://plotly.com/javascript/" class="plotly_js"> <div class="icon"></div>Javascript (v3.0.1) </a> </li> <li> <a href="https://plotly.com/ggplot2/" class="ggplot2"> <div class="icon"></div>ggplot2 </a> </li> <li> <a href="https://plotly.com/matlab/" class="matlab"> <div class="icon"></div>MATLAB </a> </li> <li> <a href="https://plotly.com/fsharp/" class="fsharp"> <div class="icon"></div>F# </a> </li> <li> <a href="https://dash.plotly.com/" class="dash"> <div class="icon"></div>Dash </a> </li> </ul> </li> <li><a style="font-weight: bold;" href="https://community.plotly.com/c/plotly-r-matlab-julia-net/29">Forum</a> </li> <li><a style="font-weight: bold;" href="https://plotly.com/get-pricing/">Pricing</a></li> <li><a style="font-weight: bold;" href="https://dash.plotly.com">Dash</a></li> <!--<li><a style="font-weight: bold;" href="http://plotly.cloud">Dash Cloud</a></li>--> <iframe src="https://ghbtns.com/github-btn.html?user=plotly&repo=plotly.R&type=star&count=true&size=large" style="padding-top: 5px;" frameborder="0" scrolling="0" width="160px" height="40px"></iframe> </ul> <div class="switch-mode"> <div class="icon-dark"></div> <div class="switch"></div> <div class="icon-light"></div> </div> </nav> </div> <div class="menu-icon"> <span></span><span></span><span></span> </div> </div> </header> </div> <main class="--page page--single --index"> <div class="--wrap"> <!-- aside - Main Sidebar--> <!-- START OF GGPLOT CUSTOM LAYOUT --> <aside class="--sidebar-container"> <div class="--sidebar-fixed reference" data-spy="affix" id="where"> <div class="brand"> <a href="/graphing-libraries/"><img src="/all_static/images/graphing_library.svg" style="height: 30px;"></a> </div> <button id="modal-button" type="button" data-toggle="modal" data-target="#myModal"> <input id="modal-input" style="border-radius: 5px; width: 100%;" type="text" placeholder=" Search..." readonly /> </button> <details style="color: white; margin-top: 20px"> <summary>Simple Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/scatter">Scatter</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scattergl">Scatter GL</a> </li> <li class="--sidebar-item"> <a href="/r/reference/bar">Bar</a> </li> <li class="--sidebar-item"> <a href="/r/reference/pie">Pie</a> </li> <li class="--sidebar-item"> <a href="/r/reference/heatmap">Heatmap</a> </li> <li class="--sidebar-item"> <a href="/r/reference/heatmapgl">Heatmap GL</a> </li> <li class="--sidebar-item"> <a href="/r/reference/image">Image</a> </li> <li class="--sidebar-item"> <a href="/r/reference/contour">Contour</a> </li> <li class="--sidebar-item"> <a href="/r/reference/table">Table</a> </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Distribution Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/box">Box</a> </li> <li class="--sidebar-item"> <a href="/r/reference/violin">Violin</a> </li> <li class="--sidebar-item"> <a href="/r/reference/histogram">Histogram</a> </li> <li class="--sidebar-item"> <a href="/r/reference/histogram2d">Histogram 2D</a> </li> <li class="--sidebar-item"> <a href="/r/reference/histogram2dcontour" >Histogram 2D Contour</a > </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Finance Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/ohlc">OHLC</a> </li> <li class="--sidebar-item"> <a href="/r/reference/candlestick">Candlestick</a> </li> <li class="--sidebar-item"> <a href="/r/reference/waterfall">Waterfall</a> </li> <li class="--sidebar-item"> <a href="/r/reference/funnel">Funnel</a> </li> <li class="--sidebar-item"> <a href="/r/reference/funnelarea">Funnel Area</a> </li> <li class="--sidebar-item"> <a href="/r/reference/indicator">Indicator</a> </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>3D Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/scatter3d">Scatter 3D</a> </li> <li class="--sidebar-item"> <a href="/r/reference/surface">Surface</a> </li> <li class="--sidebar-item"> <a href="/r/reference/mesh3d">Mesh</a> </li> <li class="--sidebar-item"> <a href="/r/reference/cone">Cone</a> </li> <li class="--sidebar-item"> <a href="/r/reference/streamtube">Streamtube</a> </li> <li class="--sidebar-item"> <a href="/r/reference/volume">Volume</a> </li> <li class="--sidebar-item"> <a href="/r/reference/isosurface">Isosurface</a> </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Map Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/scattergeo">Scatter Geo</a> </li> <li class="--sidebar-item"> <a href="/r/reference/choropleth">Choropleth</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scattermap">Scatter Map</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scattermapbox">Scatter Mapbox</a> </li> <li class="--sidebar-item"> <a href="/r/reference/choroplethmap">Choropleth Map</a> </li> <li class="--sidebar-item"> <a href="/r/reference/choroplethmapbox">Choropleth Mapbox</a> </li> <li class="--sidebar-item"> <a href="/r/reference/densitymap">Density Map</a> </li> <li class="--sidebar-item"> <a href="/r/reference/densitymapbox">Density Mapbox</a> </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Specialized Traces</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/scatterpolar">Scatter Polar</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scatterpolargl">Scatter Polar GL</a> </li> <li class="--sidebar-item"> <a href="/r/reference/barpolar">Bar Polar</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scatterternary">Scatter Ternary</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scattersmith">Scatter Smith</a> </li> <li class="--sidebar-item"> <a href="/r/reference/sunburst">Sunburst</a> </li> <li class="--sidebar-item"> <a href="/r/reference/treemap">Treemap</a> </li> <li class="--sidebar-item"> <a href="/r/reference/icicle">Icicle</a> </li> <li class="--sidebar-item"> <a href="/r/reference/sankey">Sankey</a> </li> <li class="--sidebar-item"> <a href="/r/reference/splom">SPLOM</a> </li> <li class="--sidebar-item"> <a href="/r/reference/parcoords">Parallel Coordinates</a> </li> <li class="--sidebar-item"> <a href="/r/reference/parcats">Parallel Categories</a> </li> <li class="--sidebar-item"> <a href="/r/reference/carpet">Carpet</a> </li> <li class="--sidebar-item"> <a href="/r/reference/scattercarpet">Scatter Carpet</a> </li> <li class="--sidebar-item"> <a href="/r/reference/contourcarpet">Contour Carpet</a> </li> </ul> </nav> </details> <hr /> <details style="color: white; margin-top: 20px"> <summary>Layout</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/layout/">Title</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/#layout-showlegend">Legend</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/#layout-margin">Margins</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/#layout-autosize">Size</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/#layout-font">Fonts</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/#layout-paper_bgcolor" >Colors</a > </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Axes and Subplots</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/layout/xaxis/">X Axis</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/yaxis/">Y Axis</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/ternary/">Ternary</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/smith/">Smith</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/scene/">3D Scene</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/geo/">Geo</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/mapbox/">Mapbox</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/polar/">Polar</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/coloraxis/">Color Axis</a> </li> </ul> </nav> </details> <details style="color: white; margin-top: 20px"> <summary>Layers</summary> <nav class="--sidebar-body watch" id="where"> <ul class="--sidebar-list --ref"> <li class="--sidebar-item"> <a href="/r/reference/layout/annotations/">Annotations</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/shapes/">Shapes</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/selections/">Selections</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/images/">Images</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/sliders/">Sliders</a> </li> <li class="--sidebar-item"> <a href="/r/reference/layout/updatemenus/">Update Menus</a> </li> </ul> </nav> </details> </div> <a href="https://go.plotly.com/elevate-your-analytics?utm_source=Webinar:%20Dash%20Enterprise%205.7&utm_medium=graphing_libraries&utm_content=sidebar" target="_blank"> <img src="https://images.prismic.io/plotly-marketing-website-2/Z9mL0DiBA97Gimoh_Square_ads.jpg?auto=format,compress" style="width: 200px; height: 200px; position: fixed; bottom: 10px; left: 50px" alt="Sign up for the upcoming webinar: Elevate Your Analytics with Plotly Dash Enterprise 5.7"> </a> </aside> <!-- Main--> <section class="--page-body --tutorial-index"> <div class="nav-breadcrumb-container"> <div> <div class="breadcrumb-nav"> <a href="/r"> R </a> &gt; <a href="/r/reference/index/">Figure Reference</a> &gt; <span>contour Traces</span> </div> </div> </div> <!-- Start pulling content --> <h2>R Figure Reference: <code>contour</code> Traces</h2> <div class="row"> <div class="eight columns" style="max-width: 900px;"> <div class="description"> A <code>contour</code> trace is initialized with <code>plot_ly</code> or <code>add_trace</code>:<br> <code>plot_ly(df, type="contour"[, ...])<br> add_trace(p, type="contour"[, ...])</code><br> A contour trace accepts any of the keys listed below. <br><br>The data from which contour lines are computed is set in `z`. Data in `z` must be a 2D list of numbers. Say that `z` has N rows and M columns, then by default, these N rows correspond to N y coordinates (set in `y` or auto-generated) and the M columns correspond to M x coordinates (set in `x` or auto-generated). By setting `transpose` to "TRUE", the above behavior is flipped.<br><br> </div> <ul> <li> <a class="attribute-name" id="contour-type" href="#contour-type"> type </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> "contour" </li> <li> <a class="attribute-name" id="contour-name" href="#contour-name"> name </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <p>Sets the trace name. The trace name appears as the legend item and on hover.</p> </li> <li> <a class="attribute-name" id="contour-visible" href="#contour-visible"> visible </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>TRUE</code> | <code>FALSE</code> | <code>"legendonly"</code> ) <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible).</p> </li> <li> <a class="attribute-name" id="contour-showlegend" href="#contour-showlegend"> showlegend </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not an item corresponding to this trace is shown in the legend.</p> </li> <li> <a class="attribute-name" id="contour-legend" href="#contour-legend"> legend </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> subplotid <br><em>Default:</em> <code>legend</code> <p>Sets the reference to a legend to show this trace in. References to these legends are "legend", "legend2", "legend3", etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc.</p> </li> <li> <a class="attribute-name" id="contour-legendrank" href="#contour-legendrank"> legendrank </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <br><em>Default:</em> <code>1000</code> <p>Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with "reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.</p> </li> <li> <a class="attribute-name" id="contour-legendgroup" href="#contour-legendgroup"> legendgroup </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle" href="#contour-legendgrouptitle"> legendgrouptitle </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-legendgrouptitle-font" href="#contour-legendgrouptitle-font"> font </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>Sets this legend group&#39;s title font.</p> <ul> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-color" href="#contour-legendgrouptitle-font-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> color </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-family" href="#contour-legendgrouptitle-font-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> string <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-lineposition" href="#contour-legendgrouptitle-font-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-shadow" href="#contour-legendgrouptitle-font-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-size" href="#contour-legendgrouptitle-font-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> number greater than or equal to 1 </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-style" href="#contour-legendgrouptitle-font-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-textcase" href="#contour-legendgrouptitle-font-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-variant" href="#contour-legendgrouptitle-font-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-font-weight" href="#contour-legendgrouptitle-font-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle.font</code> <br /> <em>Type:</em> integer between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-legendgrouptitle-text" href="#contour-legendgrouptitle-text"> text </a> <br><em>Parent:</em> <code>data[type=contour].legendgrouptitle</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the title of the legend group.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-legendwidth" href="#contour-legendwidth"> legendwidth </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number greater than or equal to 0 <p>Sets the width (in px or fraction) of the legend for this trace.</p> </li> <li> <a class="attribute-name" id="contour-opacity" href="#contour-opacity"> opacity </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number between or equal to 0 and 1 <br><em>Default:</em> <code>1</code> <p>Sets the opacity of the trace.</p> </li> <li> <a class="attribute-name" id="contour-ids" href="#contour-ids"> ids </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.</p> </li> <li> <a class="attribute-name" id="contour-zorder" href="#contour-zorder"> zorder </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> integer <br><em>Default:</em> <code>0</code> <p>Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.</p> </li> <li> <a class="attribute-name" id="contour-x" href="#contour-x"> x </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the x coordinates.</p> </li> <li> <a class="attribute-name" id="contour-x0" href="#contour-x0"> x0 </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <br><em>Default:</em> <code>0</code> <p>Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.</p> </li> <li> <a class="attribute-name" id="contour-dx" href="#contour-dx"> dx </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <br><em>Default:</em> <code>1</code> <p>Sets the x coordinate step. See `x0` for more info.</p> </li> <li> <a class="attribute-name" id="contour-xtype" href="#contour-xtype"> xtype </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"array"</code> | <code>"scaled"</code> ) <p>If "array", the heatmap&#39;s x coordinates are given by "x" (the default behavior when `x` is provided). If "scaled", the heatmap&#39;s x coordinates are given by "x0" and "dx" (the default behavior when `x` is not provided).</p> </li> <li> <a class="attribute-name" id="contour-y" href="#contour-y"> y </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the y coordinates.</p> </li> <li> <a class="attribute-name" id="contour-y0" href="#contour-y0"> y0 </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <br><em>Default:</em> <code>0</code> <p>Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.</p> </li> <li> <a class="attribute-name" id="contour-dy" href="#contour-dy"> dy </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <br><em>Default:</em> <code>1</code> <p>Sets the y coordinate step. See `y0` for more info.</p> </li> <li> <a class="attribute-name" id="contour-ytype" href="#contour-ytype"> ytype </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"array"</code> | <code>"scaled"</code> ) <p>If "array", the heatmap&#39;s y coordinates are given by "y" (the default behavior when `y` is provided) If "scaled", the heatmap&#39;s y coordinates are given by "y0" and "dy" (the default behavior when `y` is not provided)</p> </li> <li> <a class="attribute-name" id="contour-z" href="#contour-z"> z </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the z data.</p> </li> <li> <a class="attribute-name" id="contour-text" href="#contour-text"> text </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the text elements associated with each z value.</p> </li> <li> <a class="attribute-name" id="contour-texttemplate" href="#contour-texttemplate"> texttemplate </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>For this trace it only has an effect if `coloring` is set to "heatmap". Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example &quot;y: %{y}&quot;. Numbers are formatted using d3-format&#39;s syntax %{variable:d3-format}, for example &quot;Price: %{y:$.2f}&quot;. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format&#39;s syntax %{variable|d3-time-format}, for example &quot;Day: %{2019-01-01|%A}&quot;. https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: TRUE`) are available. Finally, the template string has access to variables `x`, `y`, `z` and `text`.</p> </li> <li> <a class="attribute-name" id="contour-hovertext" href="#contour-hovertext"> hovertext </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Same as `text`.</p> </li> <li> <a class="attribute-name" id="contour-hoverinfo" href="#contour-hoverinfo"> hoverinfo </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"x"</code>, <code>"y"</code>, <code>"z"</code>, <code>"text"</code>, <code>"name"</code> joined with a <code>"+"</code> OR <code>"all"</code> or <code>"none"</code> or <code>"skip"</code>. <br><em>Examples:</em> <code>"x"</code>, <code>"y"</code>, <code>"x+y"</code>, <code>"x+y+z"</code>, <code>"all"</code> <br><em>Default:</em> <code>"all"</code> <p>Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired.</p> </li> <li> <a class="attribute-name" id="contour-hovertemplate" href="#contour-hovertemplate"> hovertemplate </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string or array of strings <br><em>Default:</em> <code>""</code> <p>Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example &quot;y: %{y}&quot; as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, "xother" will be added to those with different x positions from the first point. An underscore before or after "(x|y)other" will add a space on that side, only when this field is shown. Numbers are formatted using d3-format&#39;s syntax %{variable:d3-format}, for example &quot;Price: %{y:$.2f}&quot;. https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format&#39;s syntax %{variable|d3-time-format}, for example &quot;Day: %{2019-01-01|%A}&quot;. https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: TRUE`) are available. Anything contained in tag `&lt;extra&gt;` is displayed in the secondary box, for example &quot;&lt;extra&gt;{fullData.name}&lt;/extra&gt;&quot;. To hide the secondary box completely, use an empty tag `&lt;extra&gt;&lt;/extra&gt;`.</p> </li> <li> <a class="attribute-name" id="contour-xhoverformat" href="#contour-xhoverformat"> xhoverformat </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the hover text formatting rulefor `x` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3&#39;s date formatter: "%h" for half of the year as a decimal number as well as "%{n}f" for fractional seconds with n digits. For example, "2016-10-13 09:15:23.456" with tickformat "%H~%M~%S.%2f" would display "09~15~23.46"By default the values are formatted using `xaxis.hoverformat`.</p> </li> <li> <a class="attribute-name" id="contour-yhoverformat" href="#contour-yhoverformat"> yhoverformat </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the hover text formatting rulefor `y` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3&#39;s date formatter: "%h" for half of the year as a decimal number as well as "%{n}f" for fractional seconds with n digits. For example, "2016-10-13 09:15:23.456" with tickformat "%H~%M~%S.%2f" would display "09~15~23.46"By default the values are formatted using `yaxis.hoverformat`.</p> </li> <li> <a class="attribute-name" id="contour-meta" href="#contour-meta"> meta </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index.</p> </li> <li> <a class="attribute-name" id="contour-customdata" href="#contour-customdata"> customdata </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, "scatter" traces also appends customdata items in the markers DOM elements</p> </li> <li> <a class="attribute-name" id="contour-xaxis" href="#contour-xaxis"> xaxis </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> subplotid <br><em>Default:</em> <code>x</code> <p>Sets a reference between this trace&#39;s x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on.</p> </li> <li> <a class="attribute-name" id="contour-yaxis" href="#contour-yaxis"> yaxis </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> subplotid <br><em>Default:</em> <code>y</code> <p>Sets a reference between this trace&#39;s y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on.</p> </li> <li> <a class="attribute-name" id="contour-coloraxis" href="#contour-coloraxis"> coloraxis </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> subplotid <p>Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis.</p> </li> <li> <a class="attribute-name" id="contour-xperiod" href="#contour-xperiod"> xperiod </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <br><em>Default:</em> <code>0</code> <p>Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M&lt;n&gt;" on the x axis. Special values in the form of "M&lt;n&gt;" could be used to declare the number of months. In this case `n` must be a positive integer.</p> </li> <li> <a class="attribute-name" id="contour-xperiodalignment" href="#contour-xperiodalignment"> xperiodalignment </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"start"</code> | <code>"middle"</code> | <code>"end"</code> ) <br><em>Default:</em> <code>"middle"</code> <p>Only relevant when the axis `type` is "date". Sets the alignment of data points on the x axis.</p> </li> <li> <a class="attribute-name" id="contour-xperiod0" href="#contour-xperiod0"> xperiod0 </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Only relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the x0 axis. When `x0period` is round number of weeks, the `x0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.</p> </li> <li> <a class="attribute-name" id="contour-yperiod" href="#contour-yperiod"> yperiod </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <br><em>Default:</em> <code>0</code> <p>Only relevant when the axis `type` is "date". Sets the period positioning in milliseconds or "M&lt;n&gt;" on the y axis. Special values in the form of "M&lt;n&gt;" could be used to declare the number of months. In this case `n` must be a positive integer.</p> </li> <li> <a class="attribute-name" id="contour-yperiodalignment" href="#contour-yperiodalignment"> yperiodalignment </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"start"</code> | <code>"middle"</code> | <code>"end"</code> ) <br><em>Default:</em> <code>"middle"</code> <p>Only relevant when the axis `type` is "date". Sets the alignment of data points on the y axis.</p> </li> <li> <a class="attribute-name" id="contour-yperiod0" href="#contour-yperiod0"> yperiod0 </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Only relevant when the axis `type` is "date". Sets the base for period positioning in milliseconds or date string on the y0 axis. When `y0period` is round number of weeks, the `y0period0` by default would be on a Sunday i.e. 2000-01-02, otherwise it would be at 2000-01-01.</p> </li> <li> <a class="attribute-name" id="contour-line" href="#contour-line"> line </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-line-color" href="#contour-line-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].line</code> <br /> <em>Type:</em> color <p>Sets the color of the contour level. Has no effect if `contours.coloring` is set to "lines".</p> </li> <li> <a class="attribute-name" id="contour-line-dash" href="#contour-line-dash"> dash </a> <br><em>Parent:</em> <code>data[type=contour].line</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"solid"</code> <p>Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").</p> </li> <li> <a class="attribute-name" id="contour-line-smoothing" href="#contour-line-smoothing"> smoothing </a> <br><em>Parent:</em> <code>data[type=contour].line</code> <br /> <em>Type:</em> number between or equal to 0 and 1.3 <br><em>Default:</em> <code>1</code> <p>Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.</p> </li> <li> <a class="attribute-name" id="contour-line-width" href="#contour-line-width"> width </a> <br><em>Parent:</em> <code>data[type=contour].line</code> <br /> <em>Type:</em> number greater than or equal to 0 <p>Sets the contour line width in (in px) Defaults to "0.5" when `contours.type` is "levels". Defaults to "2" when `contour.type` is "constraint".</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-textfont" href="#contour-textfont"> textfont </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>For this trace it only has an effect if `coloring` is set to "heatmap". Sets the text font.</p> <ul> <li> <a class="attribute-name" id="contour-textfont-color" href="#contour-textfont-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> color <br><em>Default:</em> <code>"auto"</code> </li> <li> <a class="attribute-name" id="contour-textfont-family" href="#contour-textfont-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> string <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-textfont-lineposition" href="#contour-textfont-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-textfont-shadow" href="#contour-textfont-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-textfont-size" href="#contour-textfont-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> number greater than or equal to 1 <br><em>Default:</em> <code>"auto"</code> </li> <li> <a class="attribute-name" id="contour-textfont-style" href="#contour-textfont-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-textfont-textcase" href="#contour-textfont-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-textfont-variant" href="#contour-textfont-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-textfont-weight" href="#contour-textfont-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].textfont</code> <br /> <em>Type:</em> integer between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-colorbar" href="#contour-colorbar"> colorbar </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-colorbar-bgcolor" href="#contour-colorbar-bgcolor"> bgcolor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> color <br><em>Default:</em> <code>"rgba(0,0,0,0)"</code> <p>Sets the color of padded area.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-bordercolor" href="#contour-colorbar-bordercolor"> bordercolor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> color <br><em>Default:</em> <code>"#444"</code> <p>Sets the axis line color.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-borderwidth" href="#contour-colorbar-borderwidth"> borderwidth </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>0</code> <p>Sets the width (in px) or the border enclosing this color bar.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-dtick" href="#contour-colorbar-dtick"> dtick </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n"dtick) where n is the tick number. For example, to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2. To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433. "log" has several special values; "L&lt;f&gt;", where `f` is a positive number, gives ticks linearly spaced in value (but not position). For example `tick0` = 0.1, `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus small digits between, use "D1" (all digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and "D2". If the axis `type` is "date", then you must convert the time to milliseconds. For example, to set the interval between ticks to one day, set `dtick` to 86400000.0. "date" also has special values "M&lt;n&gt;" gives ticks spaced by a number of months. `n` must be a positive integer. To set ticks on the 15th of every third month, set `tick0` to "2000-01-15" and `dtick` to "M3". To set ticks every 4 years, set `dtick` to "M48"</p> </li> <li> <a class="attribute-name" id="contour-colorbar-exponentformat" href="#contour-colorbar-exponentformat"> exponentformat </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"none"</code> | <code>"e"</code> | <code>"E"</code> | <code>"power"</code> | <code>"SI"</code> | <code>"B"</code> ) <br><em>Default:</em> <code>"B"</code> <p>Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-labelalias" href="#contour-colorbar-labelalias"> labelalias </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Replacement text for specific tick or hover labels. For example using {US: &#39;USA&#39;, CA: &#39;Canada&#39;} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-len" href="#contour-colorbar-len"> len </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>1</code> <p>Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-lenmode" href="#contour-colorbar-lenmode"> lenmode </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"fraction"</code> | <code>"pixels"</code> ) <br><em>Default:</em> <code>"fraction"</code> <p>Determines whether this color bar&#39;s length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in "pixels. Use `len` to set the value.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-minexponent" href="#contour-colorbar-minexponent"> minexponent </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>3</code> <p>Hide SI prefix for 10^n if |n| is below this number. This only has an effect when `tickformat` is "SI" or "B".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-nticks" href="#contour-colorbar-nticks"> nticks </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> integer greater than or equal to 0 <br><em>Default:</em> <code>0</code> <p>Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-orientation" href="#contour-colorbar-orientation"> orientation </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"h"</code> | <code>"v"</code> ) <br><em>Default:</em> <code>"v"</code> <p>Sets the orientation of the colorbar.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-outlinecolor" href="#contour-colorbar-outlinecolor"> outlinecolor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> color <br><em>Default:</em> <code>"#444"</code> <p>Sets the axis line color.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-outlinewidth" href="#contour-colorbar-outlinewidth"> outlinewidth </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>1</code> <p>Sets the width (in px) of the axis line.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-separatethousands" href="#contour-colorbar-separatethousands"> separatethousands </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> boolean <p>If &quot;TRUE&quot;, even 4-digit integers are separated</p> </li> <li> <a class="attribute-name" id="contour-colorbar-showexponent" href="#contour-colorbar-showexponent"> showexponent </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"all"</code> | <code>"first"</code> | <code>"last"</code> | <code>"none"</code> ) <br><em>Default:</em> <code>"all"</code> <p>If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-showticklabels" href="#contour-colorbar-showticklabels"> showticklabels </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not the tick labels are drawn.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-showtickprefix" href="#contour-colorbar-showtickprefix"> showtickprefix </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"all"</code> | <code>"first"</code> | <code>"last"</code> | <code>"none"</code> ) <br><em>Default:</em> <code>"all"</code> <p>If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-showticksuffix" href="#contour-colorbar-showticksuffix"> showticksuffix </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"all"</code> | <code>"first"</code> | <code>"last"</code> | <code>"none"</code> ) <br><em>Default:</em> <code>"all"</code> <p>Same as `showtickprefix` but for tick suffixes.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-thickness" href="#contour-colorbar-thickness"> thickness </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>30</code> <p>Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-thicknessmode" href="#contour-colorbar-thicknessmode"> thicknessmode </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"fraction"</code> | <code>"pixels"</code> ) <br><em>Default:</em> <code>"pixels"</code> <p>Determines whether this color bar&#39;s thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tick0" href="#contour-colorbar-tick0"> tick0 </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`="L&lt;f&gt;" (see `dtick` for more info). If the axis `type` is "date", it should be a date string, like date data. If the axis `type` is "category", it should be a number, using the scale where each category is assigned a serial number from zero in the order it appears.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickangle" href="#contour-colorbar-tickangle"> tickangle </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> angle <br><em>Default:</em> <code>"auto"</code> <p>Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickcolor" href="#contour-colorbar-tickcolor"> tickcolor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> color <br><em>Default:</em> <code>"#444"</code> <p>Sets the tick color.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont" href="#contour-colorbar-tickfont"> tickfont </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>Sets the color bar&#39;s tick label font</p> <ul> <li> <a class="attribute-name" id="contour-colorbar-tickfont-color" href="#contour-colorbar-tickfont-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> color </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-family" href="#contour-colorbar-tickfont-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> string <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-lineposition" href="#contour-colorbar-tickfont-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-shadow" href="#contour-colorbar-tickfont-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-size" href="#contour-colorbar-tickfont-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> number greater than or equal to 1 </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-style" href="#contour-colorbar-tickfont-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-textcase" href="#contour-colorbar-tickfont-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-variant" href="#contour-colorbar-tickfont-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickfont-weight" href="#contour-colorbar-tickfont-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickfont</code> <br /> <em>Type:</em> integer between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformat" href="#contour-colorbar-tickformat"> tickformat </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the tick label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3&#39;s date formatter: "%h" for half of the year as a decimal number as well as "%{n}f" for fractional seconds with n digits. For example, "2016-10-13 09:15:23.456" with tickformat "%H~%M~%S.%2f" would display "09~15~23.46"</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops" href="#contour-colorbar-tickformatstops"> tickformatstops </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br><em>Type:</em> list of named list where each named list has one or more of the keys listed below. <!--This will break if there ever more than one type of item in in items - but for now it's just "shape" and "annotation"--> <ul> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops-items-tickformatstop-dtickrange" href="#contour-colorbar-tickformatstops-items-tickformatstop-dtickrange"> dtickrange </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickformatstops[]</code> <br /> <em>Type:</em> list <p>range ["min", "max"], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null"</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops-items-tickformatstop-enabled" href="#contour-colorbar-tickformatstops-items-tickformatstop-enabled"> enabled </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickformatstops[]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not this stop is used. If `FALSE`, this stop is ignored even within its `dtickrange`.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops-items-tickformatstop-name" href="#contour-colorbar-tickformatstops-items-tickformatstop-name"> name </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickformatstops[]</code> <br /> <em>Type:</em> string <p>When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: FALSE` or `enabled: FALSE` to hide it). Has no effect outside of a template.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops-items-tickformatstop-templateitemname" href="#contour-colorbar-tickformatstops-items-tickformatstop-templateitemname"> templateitemname </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickformatstops[]</code> <br /> <em>Type:</em> string <p>Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: FALSE` or `enabled: FALSE` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: TRUE`.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickformatstops-items-tickformatstop-value" href="#contour-colorbar-tickformatstops-items-tickformatstop-value"> value </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.tickformatstops[]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>string - dtickformat for described zoom level, the same as "tickformat"</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-colorbar-ticklabeloverflow" href="#contour-colorbar-ticklabeloverflow"> ticklabeloverflow </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"allow"</code> | <code>"hide past div"</code> | <code>"hide past domain"</code> ) <p>Determines how we handle tick labels that would overflow either the graph div or the domain of the axis. The default value for inside tick labels is "hide past domain". In other cases the default is "hide past div".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticklabelposition" href="#contour-colorbar-ticklabelposition"> ticklabelposition </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"outside"</code> | <code>"inside"</code> | <code>"outside top"</code> | <code>"inside top"</code> | <code>"outside left"</code> | <code>"inside left"</code> | <code>"outside right"</code> | <code>"inside right"</code> | <code>"outside bottom"</code> | <code>"inside bottom"</code> ) <br><em>Default:</em> <code>"outside"</code> <p>Determines where tick labels are drawn relative to the ticks. Left and right options are used when `orientation` is "h", top and bottom when `orientation` is "v".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticklabelstep" href="#contour-colorbar-ticklabelstep"> ticklabelstep </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> integer greater than or equal to 1 <br><em>Default:</em> <code>1</code> <p>Sets the spacing between tick labels as compared to the spacing between ticks. A value of 1 (default) means each tick gets a label. A value of 2 means shows every 2nd label. A larger value n means only every nth tick is labeled. `tick0` determines which labels are shown. Not implemented for axes with `type` "log" or "multicategory", or when `tickmode` is "array".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticklen" href="#contour-colorbar-ticklen"> ticklen </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>5</code> <p>Sets the tick length (in px).</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickmode" href="#contour-colorbar-tickmode"> tickmode </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"auto"</code> | <code>"linear"</code> | <code>"array"</code> ) <p>Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`. ("array" is the default value if `tickvals` is provided).</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickprefix" href="#contour-colorbar-tickprefix"> tickprefix </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets a tick label prefix.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticks" href="#contour-colorbar-ticks"> ticks </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"outside"</code> | <code>"inside"</code> | <code>""</code> ) <br><em>Default:</em> <code>""</code> <p>Determines whether ticks are drawn or not. If "", this axis&#39; ticks are not drawn. If "outside" ("inside"), this axis&#39; are drawn outside (inside) the axis lines.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticksuffix" href="#contour-colorbar-ticksuffix"> ticksuffix </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets a tick label suffix.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ticktext" href="#contour-colorbar-ticktext"> ticktext </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickvals" href="#contour-colorbar-tickvals"> tickvals </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> dataframe column, list, vector <p>Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-tickwidth" href="#contour-colorbar-tickwidth"> tickwidth </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>1</code> <p>Sets the tick width (in px).</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title" href="#contour-colorbar-title"> title </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-colorbar-title-font" href="#contour-colorbar-title-font"> font </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>Sets this color bar&#39;s title font.</p> <ul> <li> <a class="attribute-name" id="contour-colorbar-title-font-color" href="#contour-colorbar-title-font-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> color </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-family" href="#contour-colorbar-title-font-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> string <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-lineposition" href="#contour-colorbar-title-font-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-shadow" href="#contour-colorbar-title-font-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-size" href="#contour-colorbar-title-font-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> number greater than or equal to 1 </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-style" href="#contour-colorbar-title-font-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-textcase" href="#contour-colorbar-title-font-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-variant" href="#contour-colorbar-title-font-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-font-weight" href="#contour-colorbar-title-font-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title.font</code> <br /> <em>Type:</em> integer between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-colorbar-title-side" href="#contour-colorbar-title-side"> side </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title</code> <br /> <em>Type:</em> enumerated , one of ( <code>"right"</code> | <code>"top"</code> | <code>"bottom"</code> ) <p>Determines the location of color bar&#39;s title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-title-text" href="#contour-colorbar-title-text"> text </a> <br><em>Parent:</em> <code>data[type=contour].colorbar.title</code> <br /> <em>Type:</em> string <p>Sets the title of the color bar.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-colorbar-x" href="#contour-colorbar-x"> x </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number <p>Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is "paper", defaults to 1.02 when `orientation` is "v" and 0.5 when `orientation` is "h". When `xref` is "container", defaults to "1" when `orientation` is "v" and 0.5 when `orientation` is "h". Must be between "0" and "1" if `xref` is "container" and between "-2" and "3" if `xref` is "paper".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-xanchor" href="#contour-colorbar-xanchor"> xanchor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"left"</code> | <code>"center"</code> | <code>"right"</code> ) <p>Sets this color bar&#39;s horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. Defaults to "left" when `orientation` is "v" and "center" when `orientation` is "h".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-xpad" href="#contour-colorbar-xpad"> xpad </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>10</code> <p>Sets the amount of padding (in px) along the x direction.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-xref" href="#contour-colorbar-xref"> xref </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"container"</code> | <code>"paper"</code> ) <br><em>Default:</em> <code>"paper"</code> <p>Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-y" href="#contour-colorbar-y"> y </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number <p>Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is "paper", defaults to 0.5 when `orientation` is "v" and 1.02 when `orientation` is "h". When `yref` is "container", defaults to 0.5 when `orientation` is "v" and 1 when `orientation` is "h". Must be between "0" and "1" if `yref` is "container" and between "-2" and "3" if `yref` is "paper".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-yanchor" href="#contour-colorbar-yanchor"> yanchor </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"top"</code> | <code>"middle"</code> | <code>"bottom"</code> ) <p>Sets this color bar&#39;s vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. Defaults to "middle" when `orientation` is "v" and "bottom" when `orientation` is "h".</p> </li> <li> <a class="attribute-name" id="contour-colorbar-ypad" href="#contour-colorbar-ypad"> ypad </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> number greater than or equal to 0 <br><em>Default:</em> <code>10</code> <p>Sets the amount of padding (in px) along the y direction.</p> </li> <li> <a class="attribute-name" id="contour-colorbar-yref" href="#contour-colorbar-yref"> yref </a> <br><em>Parent:</em> <code>data[type=contour].colorbar</code> <br /> <em>Type:</em> enumerated , one of ( <code>"container"</code> | <code>"paper"</code> ) <br><em>Default:</em> <code>"paper"</code> <p>Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-autocolorscale" href="#contour-autocolorscale"> autocolorscale </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <p>Determines whether the colorscale is a default palette (`autocolorscale: TRUE`) or the palette determined by `colorscale`. In case `colorscale` is unspecified or `autocolorscale` is TRUE, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.</p> </li> <li> <a class="attribute-name" id="contour-colorscale" href="#contour-colorscale"> colorscale </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> colorscale <p>Sets the colorscale. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, &#39;rgb(0,0,255)&#39;], [1, &#39;rgb(255,0,0)&#39;]]`. To control the bounds of the colorscale in color space, use `zmin` and `zmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.</p> </li> <li> <a class="attribute-name" id="contour-showscale" href="#contour-showscale"> showscale </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not a colorbar is displayed for this trace.</p> </li> <li> <a class="attribute-name" id="contour-reversescale" href="#contour-reversescale"> reversescale </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <p>Reverses the color mapping if TRUE. If TRUE, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.</p> </li> <li> <a class="attribute-name" id="contour-zauto" href="#contour-zauto"> zauto </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `FALSE` when `zmin` and `zmax` are set by the user.</p> </li> <li> <a class="attribute-name" id="contour-zhoverformat" href="#contour-zhoverformat"> zhoverformat </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the hover text formatting rulefor `z` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.By default the values are formatted using generic number format.</p> </li> <li> <a class="attribute-name" id="contour-zmax" href="#contour-zmax"> zmax </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <p>Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well.</p> </li> <li> <a class="attribute-name" id="contour-zmid" href="#contour-zmid"> zmid </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <p>Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `FALSE`.</p> </li> <li> <a class="attribute-name" id="contour-zmin" href="#contour-zmin"> zmin </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number <p>Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well.</p> </li> <li> <a class="attribute-name" id="contour-autocontour" href="#contour-autocontour"> autocontour </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not the contour level attributes are picked by an algorithm. If "TRUE", the number of contour levels can be set in `ncontours`. If "FALSE", set the contour level attributes in `contours`.</p> </li> <li> <a class="attribute-name" id="contour-connectgaps" href="#contour-connectgaps"> connectgaps </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <p>Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to TRUE if `z` is a one dimensional array otherwise it is defaulted to FALSE.</p> </li> <li> <a class="attribute-name" id="contour-contours" href="#contour-contours"> contours </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-contours-coloring" href="#contour-contours-coloring"> coloring </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> enumerated , one of ( <code>"fill"</code> | <code>"heatmap"</code> | <code>"lines"</code> | <code>"none"</code> ) <br><em>Default:</em> <code>"fill"</code> <p>Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.</p> </li> <li> <a class="attribute-name" id="contour-contours-end" href="#contour-contours-end"> end </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> number <p>Sets the end contour level value. Must be more than `contours.start`</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont" href="#contour-contours-labelfont"> labelfont </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.</p> <ul> <li> <a class="attribute-name" id="contour-contours-labelfont-color" href="#contour-contours-labelfont-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> color </li> <li> <a class="attribute-name" id="contour-contours-labelfont-family" href="#contour-contours-labelfont-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> string <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-lineposition" href="#contour-contours-labelfont-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-shadow" href="#contour-contours-labelfont-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-size" href="#contour-contours-labelfont-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> number greater than or equal to 1 </li> <li> <a class="attribute-name" id="contour-contours-labelfont-style" href="#contour-contours-labelfont-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-textcase" href="#contour-contours-labelfont-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-variant" href="#contour-contours-labelfont-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> enumerated , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-contours-labelfont-weight" href="#contour-contours-labelfont-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].contours.labelfont</code> <br /> <em>Type:</em> integer between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-contours-labelformat" href="#contour-contours-labelformat"> labelformat </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> string <br><em>Default:</em> <code>""</code> <p>Sets the contour label formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.</p> </li> <li> <a class="attribute-name" id="contour-contours-operation" href="#contour-contours-operation"> operation </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> enumerated , one of ( <code>"="</code> | <code>"<"</code> | <code>">="</code> | <code>">"</code> | <code>"<="</code> | <code>"[]"</code> | <code>"()"</code> | <code>"[)"</code> | <code>"(]"</code> | <code>"]["</code> | <code>")("</code> | <code>"]("</code> | <code>")["</code> ) <br><em>Default:</em> <code>"="</code> <p>Sets the constraint operation. "=" keeps regions equal to `value` "&lt;" and "&lt;=" keep regions less than `value` "&gt;" and "&gt;=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.</p> </li> <li> <a class="attribute-name" id="contour-contours-showlabels" href="#contour-contours-showlabels"> showlabels </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> boolean <p>Determines whether to label the contour lines with their values.</p> </li> <li> <a class="attribute-name" id="contour-contours-showlines" href="#contour-contours-showlines"> showlines </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to "fill".</p> </li> <li> <a class="attribute-name" id="contour-contours-size" href="#contour-contours-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> number greater than or equal to 0 <p>Sets the step between each contour level. Must be positive.</p> </li> <li> <a class="attribute-name" id="contour-contours-start" href="#contour-contours-start"> start </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> number <p>Sets the starting contour level value. Must be less than `contours.end`</p> </li> <li> <a class="attribute-name" id="contour-contours-type" href="#contour-contours-type"> type </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> enumerated , one of ( <code>"levels"</code> | <code>"constraint"</code> ) <br><em>Default:</em> <code>"levels"</code> <p>If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters.</p> </li> <li> <a class="attribute-name" id="contour-contours-value" href="#contour-contours-value"> value </a> <br><em>Parent:</em> <code>data[type=contour].contours</code> <br /> <em>Type:</em> number or categorical coordinate string <br><em>Default:</em> <code>0</code> <p>Sets the value or values of the constraint boundary. When `operation` is set to one of the comparison values (=,&lt;,&gt;=,&gt;,&lt;=) "value" is expected to be a number. When `operation` is set to one of the interval values ([],(),[),(],][,)(,](,)[) "value" is expected to be an array of two numbers where the first is the lower bound and the second is the upper bound.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-fillcolor" href="#contour-fillcolor"> fillcolor </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> color <p>Sets the fill color if `contours.type` is "constraint". Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel" href="#contour-hoverlabel"> hoverlabel </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <ul> <li> <a class="attribute-name" id="contour-hoverlabel-align" href="#contour-hoverlabel-align"> align </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel</code> <br /> <em>Type:</em> enumerated or array of enumerateds , one of ( <code>"left"</code> | <code>"right"</code> | <code>"auto"</code> ) <br><em>Default:</em> <code>"auto"</code> <p>Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-bgcolor" href="#contour-hoverlabel-bgcolor"> bgcolor </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel</code> <br /> <em>Type:</em> color or array of colors <p>Sets the background color of the hover labels for this trace</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-bordercolor" href="#contour-hoverlabel-bordercolor"> bordercolor </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel</code> <br /> <em>Type:</em> color or array of colors <p>Sets the border color of the hover labels for this trace.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font" href="#contour-hoverlabel-font"> font </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel</code> <br><em>Type:</em> named list containing one or more of the keys listed below. <p>Sets the font used in hover labels.</p> <ul> <li> <a class="attribute-name" id="contour-hoverlabel-font-color" href="#contour-hoverlabel-font-color"> color </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> color or array of colors </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-family" href="#contour-hoverlabel-font-family"> family </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> string or array of strings <p>HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren&#39;t available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include "Arial", "Balto", "Courier New", "Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One", "Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow", "Raleway", "Times New Roman".</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-lineposition" href="#contour-hoverlabel-font-lineposition"> lineposition </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> flaglist string. Any combination of <code>"under"</code>, <code>"over"</code>, <code>"through"</code> joined with a <code>"+"</code> OR <code>"none"</code>. <br><em>Examples:</em> <code>"under"</code>, <code>"over"</code>, <code>"under+over"</code>, <code>"under+over+through"</code>, <code>"none"</code> <br><em>Default:</em> <code>"none"</code> <p>Sets the kind of decoration line(s) with text, such as an "under", "over" or "through" as well as combinations e.g. "under+over", etc.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-shadow" href="#contour-hoverlabel-font-shadow"> shadow </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> string or array of strings <br><em>Default:</em> <code>"none"</code> <p>Sets the shape and color of the shadow behind text. "auto" places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-size" href="#contour-hoverlabel-font-size"> size </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> number or array of numbers greater than or equal to 1 </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-style" href="#contour-hoverlabel-font-style"> style </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> enumerated or array of enumerateds , one of ( <code>"normal"</code> | <code>"italic"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets whether a font should be styled with a normal or italic face from its family.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-textcase" href="#contour-hoverlabel-font-textcase"> textcase </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> enumerated or array of enumerateds , one of ( <code>"normal"</code> | <code>"word caps"</code> | <code>"upper"</code> | <code>"lower"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets capitalization of text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-variant" href="#contour-hoverlabel-font-variant"> variant </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> enumerated or array of enumerateds , one of ( <code>"normal"</code> | <code>"small-caps"</code> | <code>"all-small-caps"</code> | <code>"all-petite-caps"</code> | <code>"petite-caps"</code> | <code>"unicase"</code> ) <br><em>Default:</em> <code>"normal"</code> <p>Sets the variant of the font.</p> </li> <li> <a class="attribute-name" id="contour-hoverlabel-font-weight" href="#contour-hoverlabel-font-weight"> weight </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel.font</code> <br /> <em>Type:</em> integer or array of integers between or equal to 1 and 1000 <br><em>Default:</em> <code>normal</code> <p>Sets the weight (or boldness) of the font.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-hoverlabel-namelength" href="#contour-hoverlabel-namelength"> namelength </a> <br><em>Parent:</em> <code>data[type=contour].hoverlabel</code> <br /> <em>Type:</em> integer or array of integers greater than or equal to -1 <br><em>Default:</em> <code>15</code> <p>Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer &gt;3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.</p> </li> </ul> </li> <li> <a class="attribute-name" id="contour-hoverongaps" href="#contour-hoverongaps"> hoverongaps </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <br><em>Default:</em> <code>TRUE</code> <p>Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them.</p> </li> <li> <a class="attribute-name" id="contour-ncontours" href="#contour-ncontours"> ncontours </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> integer greater than or equal to 1 <br><em>Default:</em> <code>15</code> <p>Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "TRUE" or if `contours.size` is missing.</p> </li> <li> <a class="attribute-name" id="contour-transpose" href="#contour-transpose"> transpose </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> boolean <p>Transposes the z data.</p> </li> <li> <a class="attribute-name" id="contour-xcalendar" href="#contour-xcalendar"> xcalendar </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"chinese"</code> | <code>"coptic"</code> | <code>"discworld"</code> | <code>"ethiopian"</code> | <code>"gregorian"</code> | <code>"hebrew"</code> | <code>"islamic"</code> | <code>"jalali"</code> | <code>"julian"</code> | <code>"mayan"</code> | <code>"nanakshahi"</code> | <code>"nepali"</code> | <code>"persian"</code> | <code>"taiwan"</code> | <code>"thai"</code> | <code>"ummalqura"</code> ) <br><em>Default:</em> <code>"gregorian"</code> <p>Sets the calendar system to use with `x` date data.</p> </li> <li> <a class="attribute-name" id="contour-ycalendar" href="#contour-ycalendar"> ycalendar </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> enumerated , one of ( <code>"chinese"</code> | <code>"coptic"</code> | <code>"discworld"</code> | <code>"ethiopian"</code> | <code>"gregorian"</code> | <code>"hebrew"</code> | <code>"islamic"</code> | <code>"jalali"</code> | <code>"julian"</code> | <code>"mayan"</code> | <code>"nanakshahi"</code> | <code>"nepali"</code> | <code>"persian"</code> | <code>"taiwan"</code> | <code>"thai"</code> | <code>"ummalqura"</code> ) <br><em>Default:</em> <code>"gregorian"</code> <p>Sets the calendar system to use with `y` date data.</p> </li> <li> <a class="attribute-name" id="contour-uirevision" href="#contour-uirevision"> uirevision </a> <br><em>Parent:</em> <code>data[type=contour]</code> <br /> <em>Type:</em> number or categorical coordinate string <p>Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: TRUE` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: TRUE}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves.</p> </li> </ul> </div> </div> <!--End content --> </section> </div> </main> <footer class="--footer-main"> <section class="--footer-top"> <div class="--wrap"> <ul class="--footer-body"> <li class="--footer-column"> <h6 style="color:#119dff" class="--footer-heading">JOIN OUR MAILING LIST</h6>&#x9;&#x9;&#x9; <ul> &#x9;&#x9;&#x9;&#x9; <li> <p class="subscribe-text"> Sign up to stay in the loop with all things Plotly — from Dash Club to product updates, webinars, and more!</p> <a href="https://go.plot.ly/subscription" class="subscribe-button" target="_blank"> Subscribe </a> </li> </ul> </li> &#x9;&#x9; <li class="--footer-column"> <h6 style="color:#e763fa" class="--footer-heading">Products</h6>&#x9;&#x9;&#x9; <ul> <li><a href="https://plotly.com/dash/" target="_self">Dash</a></li> &#x9;&#x9;&#x9;&#x9; &#x9;&#x9;&#x9;&#x9; <li><a href="https://plotly.com/consulting-and-oem/" target="_self">Consulting and Training</a></li> </ul> </li> &#x9;&#x9; <li class="--footer-column"> <h6 style="color:#636efa" class="--footer-heading">Pricing</h6>&#x9;&#x9;&#x9; <ul> <li><a href="https://plotly.com/get-pricing/" target="_self">Enterprise Pricing</a></li> &#x9;&#x9;&#x9;&#x9; </ul> </li> &#x9;&#x9; <li class="--footer-column"> <h6 style="color:#00cc96" class="--footer-heading">About Us</h6>&#x9;&#x9;&#x9; <ul> <li><a href="https://plotly.com/careers" target="_self">Careers</a></li> &#x9;&#x9;&#x9;&#x9; <li><a href="https://plotly.com/resources/" target="_self">Resources</a></li> &#x9;&#x9;&#x9;&#x9; <li><a href="https://medium.com/@plotlygraphs" target="_self">Blog</a></li> &#x9;&#x9;&#x9;&#x9; </ul> </li> &#x9;&#x9; <li class="--footer-column"> <h6 style="color:#EF553B" class="--footer-heading">Support</h6>&#x9;&#x9;&#x9; <ul> <li><a href="https://community.plot.ly/" target="_self">Community Support</a></li> &#x9;&#x9;&#x9;&#x9; <li><a href="https://plotly.com/graphing-libraries" target="_self">Documentation</a></li> &#x9;&#x9;&#x9;&#x9; </ul> </li> </ul> </div> </section> <section class="--footer-meta"> <div class="--wrap"> <div class="left"> <article class="--copyright">Copyright &copy; 2025 Plotly. All rights reserved.</article> </div> <div class="right"> <article class="--tos"><a href="https://community.plotly.com/tos" target="_blank">Terms of Service</a> </article> <article class="--privacy"><a href="https://plotly.com/privacy/" target="_blank">Privacy Policy</a> </article> </div> </div> <div id="markprompt" /> </section> </footer> <div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content" id="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <span style="float: left; padding-top:13px; padding-right:10px;"><i class="fa fa-search fa-lg"></i></span> <input id="search-input" class="search-input" type="text" placeholder="" /> </div> <div class="modal-body" id="modal-body"> <div id="search-results" class="search-results"> <div id="primary-search-results" class="primary-search-results"></div> <div id="schema-search-results" class="schema-search-results"></div> </div> </div> </div> </div> </div> <script> window.plotly_doc_language = "r"; </script> <!-- ALGOLIA SEARCH --> <script> window.ALGOLIA_CONFIG = { 'applicationId': '7EK9KHJW8M', 'indexName': 'r_docs', 'apiKey': '4dae07ded6a721de73bde7356eec9280', 'baseurl': '/' } </script> <script id="algolia__template" type="text/template"> <div class="algolia__result"> <a class="algolia__result-link" onClick="$('#myModal').modal('toggle')" href="/{{ permalink }}">{{{ _highlightResult.name.value }}}</a> <div class="algolia__result-text">{{{ _highlightResult.description.value }}}</div> </div> </script> <script id="algolia__secondary-template" type="text/template"> <div class="algolia__secondary-result"> <a class="algolia__result-link" onClick="$('#myModal').modal('toggle')" href="/{{ permalink }}">{{{ _highlightResult.name.value }}}</a> <div class="algolia__result-text">{{{ _highlightResult.description.value }}}</div> </div> </script> <script id="algolia__template--no-results" type="text/template">No results found.</script> <script src="//cdn.jsdelivr.net/hogan.js/3.0.2/hogan.min.js"></script> <script src="/all_static/javascripts/algolia/algolia.js"></script> <!-- Hash offset Script --> <script src="/all_static//javascripts/hash_offset.js"></script> <!-- Image Hover Script --> <script src="/all_static/javascripts/imghover.js"></script> <script src="/all_static/javascripts/improve.js?version=2025-03-21-13-39"></script> <!-- code highlighting --> <!--<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script> <script src="/all_static/javascripts/highlight.line-numbers.js"></script>--> <script src="/all_static/javascripts/highlight/highlight.min.js"></script> <script src="/all_static/javascripts/highlight/julia.min.js"></script> <script src="/all_static/javascripts/highlight.line-numbers.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10