|
| 1 | +{% comment %}Python and JavaScript track the current plotly.js schema; the other |
| 2 | +languages' reference pages are frozen on older bundles, so they keep the legacy |
| 3 | +entries. See the note at the top of _data/make_ref_pages.py.{% endcomment %} |
| 4 | +{% assign v4ref = false %} |
| 5 | +{% if langue == "javascript" or langue == "python" %}{% assign v4ref = true %}{% endif %} |
1 | 6 | <details style="color: white; margin-top: 20px"> |
2 | 7 | <summary>Simple Traces</summary> |
3 | 8 | <nav class="--sidebar-body watch" id="where"> |
|
22 | 27 | <a href="/{{ langue }}/reference/heatmap">Heatmap</a> |
23 | 28 | </li> |
24 | 29 |
|
| 30 | +{% unless v4ref %} |
25 | 31 | <li class="--sidebar-item"> |
26 | 32 | <a href="/{{ langue }}/reference/heatmapgl">Heatmap GL</a> |
27 | 33 | </li> |
| 34 | +{% endunless %} |
28 | 35 |
|
29 | 36 | <li class="--sidebar-item"> |
30 | 37 | <a href="/{{ langue }}/reference/image">Image</a> |
|
34 | 41 | <a href="/{{ langue }}/reference/contour">Contour</a> |
35 | 42 | </li> |
36 | 43 |
|
| 44 | +{% if v4ref %} |
| 45 | + <li class="--sidebar-item"> |
| 46 | + <a href="/{{ langue }}/reference/quiver">Quiver</a> |
| 47 | + </li> |
| 48 | +{% endif %} |
| 49 | + |
37 | 50 | <li class="--sidebar-item"> |
38 | 51 | <a href="/{{ langue }}/reference/table">Table</a> |
39 | 52 | </li> |
|
152 | 165 | <a href="/{{ langue }}/reference/scattermap">Scatter Map</a> |
153 | 166 | </li> |
154 | 167 |
|
| 168 | +{% unless v4ref %} |
155 | 169 | <li class="--sidebar-item"> |
156 | 170 | <a href="/{{ langue }}/reference/scattermapbox">Scatter Mapbox</a> |
157 | 171 | </li> |
| 172 | +{% endunless %} |
158 | 173 |
|
159 | 174 | <li class="--sidebar-item"> |
160 | 175 | <a href="/{{ langue }}/reference/choroplethmap">Choropleth Map</a> |
161 | 176 | </li> |
162 | 177 |
|
| 178 | +{% unless v4ref %} |
163 | 179 | <li class="--sidebar-item"> |
164 | 180 | <a href="/{{ langue }}/reference/choroplethmapbox">Choropleth Mapbox</a> |
165 | 181 | </li> |
| 182 | +{% endunless %} |
166 | 183 |
|
167 | 184 | <li class="--sidebar-item"> |
168 | 185 | <a href="/{{ langue }}/reference/densitymap">Density Map</a> |
169 | 186 | </li> |
170 | 187 |
|
| 188 | +{% unless v4ref %} |
171 | 189 | <li class="--sidebar-item"> |
172 | 190 | <a href="/{{ langue }}/reference/densitymapbox">Density Mapbox</a> |
173 | 191 | </li> |
| 192 | +{% endunless %} |
| 193 | + |
174 | 194 | </ul> |
175 | 195 | </nav> |
176 | 196 | </details> |
|
295 | 315 | <a href="/{{ langue }}/reference/layout/geo/">Geo</a> |
296 | 316 | </li> |
297 | 317 | <li class="--sidebar-item"> |
298 | | - <a href="/{{ langue }}/reference/layout/mapbox/">Mapbox</a> |
| 318 | + {% if v4ref %}<a href="/{{ langue }}/reference/layout/map/">Map</a>{% else %}<a href="/{{ langue }}/reference/layout/mapbox/">Mapbox</a>{% endif %} |
299 | 319 | </li> |
300 | 320 | <li class="--sidebar-item"> |
301 | 321 | <a href="/{{ langue }}/reference/layout/polar/">Polar</a> |
|
0 commit comments