Skip to content

Commit 0ea7d3e

Browse files
committed
plotly.js v2.25:
- Add "Equal Earth" projection to geo subplots - Complete bindings for geo projections - Add options to include legends for shapes and newshape - add tests
1 parent f75125e commit 0ea7d3e

File tree

16 files changed

+526
-140
lines changed

16 files changed

+526
-140
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Build and test](https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml)
55
[![](https://img.shields.io/nuget/vpre/Plotly.NET)](https://www.nuget.org/packages/Plotly.NET/)
66
[![Discord](https://img.shields.io/discord/836161044501889064?color=purple&label=Join%20our%20Discord%21&logo=discord&logoColor=white)](https://discord.gg/k3kUtFY8DB)
7-
![](https://img.shields.io/badge/supported%20plotly.js%20version-2.24.3-blue)
7+
![](https://img.shields.io/badge/supported%20plotly.js%20version-2.25.2-blue)
88
[![DOI](https://img.shields.io/badge/DOI-10.12688%2Ff1000research.123971.1-brightgreen)](https://doi.org/10.12688/f1000research.123971.1)
99

1010
### Table of contents

src/Plotly.NET/CommonAbstractions/StyleParams.fs

Lines changed: 171 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,53 +1348,177 @@ module StyleParam =
13481348

13491349
[<RequireQualifiedAccess>]
13501350
type GeoProjectionType =
1351-
| EquiRectangular
1352-
| Mercator
1353-
| Orthographic
1354-
| NaturalEarth
1355-
| Kavrayskiy7
1356-
| Miller
1357-
| Robinson
1358-
| Eckert4
1359-
| AzimuthalEqualArea
1360-
| AzimuthalEquidistant
1361-
| ConicEqualArea
1362-
| ConicConformal
1363-
| ConicEquidistant
1364-
| Gnomonic
1365-
| Stereographic
1366-
| Mollweide
1367-
| Hammer
1368-
| TransverseMercator
1369-
| AlbersUSA
1370-
| WinkelTripel
1371-
| Aitoff
1372-
| Sinusoidal
1373-
1374-
static member toString =
1375-
function
1376-
| EquiRectangular -> "equirectangular"
1377-
| Mercator -> "mercator"
1378-
| Orthographic -> "orthographic"
1379-
| NaturalEarth -> "natural earth"
1380-
| Kavrayskiy7 -> "kavrayskiy7"
1381-
| Miller -> "miller"
1382-
| Robinson -> "robinson"
1383-
| Eckert4 -> "eckert4"
1384-
| AzimuthalEqualArea -> "azimuthal equal area"
1385-
| AzimuthalEquidistant -> "azimuthal equidistant"
1386-
| ConicEqualArea -> "conic equal area"
1387-
| ConicConformal -> "conic conformal"
1388-
| ConicEquidistant -> "conic equidistant"
1389-
| Gnomonic -> "gnomonic"
1390-
| Stereographic -> "stereographic"
1391-
| Mollweide -> "mollweide"
1392-
| Hammer -> "hammer"
1393-
| TransverseMercator -> "transverse mercator"
1394-
| AlbersUSA -> "albers usa"
1395-
| WinkelTripel -> "winkel tripel"
1396-
| Aitoff -> "aitoff"
1397-
| Sinusoidal -> "sinusoidal"
1351+
| Airy
1352+
| Aitoff
1353+
| Albers
1354+
| AlbersUSA
1355+
| August
1356+
| AzimuthalEqualArea
1357+
| AzimuthalEquidistant
1358+
| Baker
1359+
| Bertin1953
1360+
| Boggs
1361+
| Bonne
1362+
| Bottomley
1363+
| Bromley
1364+
| Collignon
1365+
| ConicConformal
1366+
| ConicEqualArea
1367+
| ConicEquidistant
1368+
| Craig
1369+
| Craster
1370+
| CylindricalEqualArea
1371+
| CylindricalStereographic
1372+
| Eckert1
1373+
| Eckert2
1374+
| Eckert3
1375+
| Eckert4
1376+
| Eckert5
1377+
| Eckert6
1378+
| Eisenlohr
1379+
| EqualEarth
1380+
| Equirectangular
1381+
| Fahey
1382+
| Foucaut
1383+
| FoucautSinusoidal
1384+
| Ginzburg4
1385+
| Ginzburg5
1386+
| Ginzburg6
1387+
| Ginzburg8
1388+
| Ginzburg9
1389+
| Gnomonic
1390+
| Gringorten
1391+
| GringortenQuincuncial
1392+
| Guyou
1393+
| Hammer
1394+
| Hill
1395+
| Homolosine
1396+
| Hufnagel
1397+
| Hyperelliptical
1398+
| Kavrayskiy7
1399+
| Lagrange
1400+
| Larrivee
1401+
| Laskowski
1402+
| Loximuthal
1403+
| Mercator
1404+
| Miller
1405+
| Mollweide
1406+
| MtFlatPolarParabolic
1407+
| MtFlatPolarQuartic
1408+
| MtFlatPolarSinusoidal
1409+
| NaturalEarth
1410+
| NaturalEarth1
1411+
| NaturalEarth2
1412+
| NellHammer
1413+
| Nicolosi
1414+
| Orthographic
1415+
| Patterson
1416+
| PeirceQuincuncial
1417+
| Polyconic
1418+
| RectangularPolyconic
1419+
| Robinson
1420+
| Satellite
1421+
| SinuMollweide
1422+
| Sinusoidal
1423+
| Stereographic
1424+
| Times
1425+
| TransverseMercator
1426+
| VanDerGrinten
1427+
| VanDerGrinten2
1428+
| VanDerGrinten3
1429+
| VanDerGrinten4
1430+
| Wagner4
1431+
| Wagner6
1432+
| Wiechel
1433+
| WinkelTripel
1434+
| Winkel3
1435+
1436+
static member toString =
1437+
function
1438+
| Airy -> "airy"
1439+
| Aitoff -> "aitoff"
1440+
| Albers -> "albers"
1441+
| AlbersUSA -> "albers usa"
1442+
| August -> "august"
1443+
| AzimuthalEqualArea -> "azimuthal equal area"
1444+
| AzimuthalEquidistant -> "azimuthal equidistant"
1445+
| Baker -> "baker"
1446+
| Bertin1953 -> "bertin1953"
1447+
| Boggs -> "boggs"
1448+
| Bonne -> "bonne"
1449+
| Bottomley -> "bottomley"
1450+
| Bromley -> "bromley"
1451+
| Collignon -> "collignon"
1452+
| ConicConformal -> "conic conformal"
1453+
| ConicEqualArea -> "conic equal area"
1454+
| ConicEquidistant -> "conic equidistant"
1455+
| Craig -> "craig"
1456+
| Craster -> "craster"
1457+
| CylindricalEqualArea -> "cylindrical equal area"
1458+
| CylindricalStereographic -> "cylindrical stereographic"
1459+
| Eckert1 -> "eckert1"
1460+
| Eckert2 -> "eckert2"
1461+
| Eckert3 -> "eckert3"
1462+
| Eckert4 -> "eckert4"
1463+
| Eckert5 -> "eckert5"
1464+
| Eckert6 -> "eckert6"
1465+
| Eisenlohr -> "eisenlohr"
1466+
| EqualEarth -> "equal earth"
1467+
| Equirectangular -> "equirectangular"
1468+
| Fahey -> "fahey"
1469+
| Foucaut -> "foucaut"
1470+
| FoucautSinusoidal -> "foucaut sinusoidal"
1471+
| Ginzburg4 -> "ginzburg4"
1472+
| Ginzburg5 -> "ginzburg5"
1473+
| Ginzburg6 -> "ginzburg6"
1474+
| Ginzburg8 -> "ginzburg8"
1475+
| Ginzburg9 -> "ginzburg9"
1476+
| Gnomonic -> "gnomonic"
1477+
| Gringorten -> "gringorten"
1478+
| GringortenQuincuncial -> "gringorten quincuncial"
1479+
| Guyou -> "guyou"
1480+
| Hammer -> "hammer"
1481+
| Hill -> "hill"
1482+
| Homolosine -> "homolosine"
1483+
| Hufnagel -> "hufnagel"
1484+
| Hyperelliptical -> "hyperelliptical"
1485+
| Kavrayskiy7 -> "kavrayskiy7"
1486+
| Lagrange -> "lagrange"
1487+
| Larrivee -> "larrivee"
1488+
| Laskowski -> "laskowski"
1489+
| Loximuthal -> "loximuthal"
1490+
| Mercator -> "mercator"
1491+
| Miller -> "miller"
1492+
| Mollweide -> "mollweide"
1493+
| MtFlatPolarParabolic -> "mt flat polar parabolic"
1494+
| MtFlatPolarQuartic -> "mt flat polar quartic"
1495+
| MtFlatPolarSinusoidal -> "mt flat polar sinusoidal"
1496+
| NaturalEarth -> "natural earth"
1497+
| NaturalEarth1 -> "natural earth1"
1498+
| NaturalEarth2 -> "natural earth2"
1499+
| NellHammer -> "nell hammer"
1500+
| Nicolosi -> "nicolosi"
1501+
| Orthographic -> "orthographic"
1502+
| Patterson -> "patterson"
1503+
| PeirceQuincuncial -> "peirce quincuncial"
1504+
| Polyconic -> "polyconic"
1505+
| RectangularPolyconic -> "rectangular polyconic"
1506+
| Robinson -> "robinson"
1507+
| Satellite -> "satellite"
1508+
| SinuMollweide -> "sinu mollweide"
1509+
| Sinusoidal -> "sinusoidal"
1510+
| Stereographic -> "stereographic"
1511+
| Times -> "times"
1512+
| TransverseMercator -> "transverse mercator"
1513+
| VanDerGrinten -> "van der grinten"
1514+
| VanDerGrinten2 -> "van der grinten2"
1515+
| VanDerGrinten3 -> "van der grinten3"
1516+
| VanDerGrinten4 -> "van der grinten4"
1517+
| Wagner4 -> "wagner4"
1518+
| Wagner6 -> "wagner6"
1519+
| Wiechel -> "wiechel"
1520+
| WinkelTripel -> "winkel tripel"
1521+
| Winkel3 -> "winkel3"
13981522

13991523
static member convert =
14001524
GeoProjectionType.toString >> box

src/Plotly.NET/Globals.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ open Giraffe.ViewEngine
77

88
/// The plotly js version loaded from cdn in rendered html docs
99
[<Literal>]
10-
let PLOTLYJS_VERSION = "2.24.3"
10+
let PLOTLYJS_VERSION = "2.25.2"
1111

1212
[<Literal>]
1313
let SCRIPT_TEMPLATE =

0 commit comments

Comments
 (0)