Skip to content

Commit

Permalink
fix python docs for misc functions (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanaras authored Nov 17, 2024
1 parent 2174f51 commit e45b999
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions website/docs/api/misc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function example() {
<TabItem value="python">

```py
h3.get_hexagon_area_avg(res, unit='km^2')
h3.average_hexagon_area(res, unit='km^2')
```

</TabItem>
Expand Down Expand Up @@ -276,7 +276,7 @@ function example() {
<TabItem value="python">

```py
h3.get_hexagon_area_avg(res, unit='m^2')
h3.average_hexagon_area(res, unit='m^2')
```

</TabItem>
Expand Down Expand Up @@ -561,7 +561,7 @@ function example() {
<TabItem value="python">

```py
h3.get_hexagon_edge_length_avg(res, unit='km')
h3.average_hexagon_edge_length(res, unit='km')
```

</TabItem>
Expand Down Expand Up @@ -633,7 +633,7 @@ function example() {
<TabItem value="python">

```py
h3.get_hexagon_edge_length_avg(res, unit='m')
h3.average_hexagon_edge_length(res, unit='m')
```

</TabItem>
Expand Down Expand Up @@ -705,7 +705,7 @@ function example() {
<TabItem value="python">

```py
h3.exact_edge_length(h, unit='km')
h3.edge_length(h, unit='km')
```

</TabItem>
Expand Down Expand Up @@ -777,7 +777,7 @@ function example() {
<TabItem value="python">

```py
h3.exact_edge_length(h, unit='m')
h3.edge_length(h, unit='m')
```

</TabItem>
Expand Down Expand Up @@ -849,7 +849,7 @@ function example() {
<TabItem value="python">

```py
h3.exact_edge_length(h, unit='rads')
h3.edge_length(h, unit='rads')
```

</TabItem>
Expand Down Expand Up @@ -1349,7 +1349,7 @@ function example() {
<TabItem value="python">

```py
h3.latlng_distance(point1, point2, unit='m')
h3.great_circle_distance(point1, point2, unit='m')
```

</TabItem>
Expand Down Expand Up @@ -1423,7 +1423,7 @@ function example() {
<TabItem value="python">

```py
h3.latlng_distance(point1, point2, unit='rads')
h3.great_circle_distance(point1, point2, unit='rads')
```

</TabItem>
Expand Down

0 comments on commit e45b999

Please sign in to comment.