Skip to content

Commit 786f387

Browse files
authored
Merge pull request #206 from InsightLab/update-docs
Update docs
2 parents 9ba5d3d + 1a60908 commit 786f387

27 files changed

+5472
-5749
lines changed

docs/examples/01_Exploring_MoveDataFrame.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,9 @@ c. DataFrames
786786
787787
lon_min_x: 113.548843
788788
lat_min_y: 22.147577
789-
grid_size_lat_y: 262999
790-
grid_size_lon_x: 105388
791-
cell_size_by_degree: 7.218478943256657e-05
789+
grid_size_lat_y: 263013
790+
grid_size_lon_x: 105394
791+
cell_size_by_degree: 7.218082747158498e-05
792792
793793
794794
@@ -804,7 +804,7 @@ c. DataFrames
804804
805805
.. parsed-literal::
806806
807-
{'name': 'to_grid', 'time in seconds': 0.004861116409301758, 'memory': '0.0 B'}
807+
{'name': 'to_grid', 'time in seconds': 0.010914802551269531, 'memory': '0.0 B'}
808808
809809
810810

docs/examples/03_Exploring_Visualization.rst

Lines changed: 25 additions & 35 deletions
Large diffs are not rendered by default.
32 KB
Loading
Binary file not shown.
12.8 KB
Loading
-26 Bytes
Loading
13 KB
Loading

docs/examples/04_Exploring_Grid.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Create virtual Grid
175175
'lat_min_y': 39.970511,
176176
'grid_size_lat_y': 341,
177177
'grid_size_lon_x': 266,
178-
'cell_size_by_degree': 0.0001353464801860623}
178+
'cell_size_by_degree': 0.00013533905150922183}
179179
180180
181181
@@ -189,7 +189,7 @@ Create one polygon to point on grid
189189
190190
.. parsed-literal::
191191
192-
POLYGON ((116.3056033464802 39.97078169296037, 116.3056033464802 39.97091703944056, 116.3057386929604 39.97091703944056, 116.3057386929604 39.97078169296037, 116.3056033464802 39.97078169296037))
192+
POLYGON ((116.3056033390515 39.97078167810302, 116.3056033390515 39.97091701715453, 116.305738678103 39.97091701715453, 116.305738678103 39.97078167810302, 116.3056033390515 39.97078167810302))
193193
194194
195195
Create or update index grid feature
@@ -326,35 +326,35 @@ Create all polygons to all point on grid
326326
<td>1</td>
327327
<td>100</td>
328328
<td>101</td>
329-
<td>POLYGON ((116.3191379944988 39.98404564801861,...</td>
329+
<td>POLYGON ((116.3191372442024 39.98404490515092,...</td>
330330
</tr>
331331
<tr>
332332
<th>1</th>
333333
<td>1</td>
334334
<td>101</td>
335335
<td>102</td>
336-
<td>POLYGON ((116.319273340979 39.98418099449879, ...</td>
336+
<td>POLYGON ((116.3192725832539 39.98418024420243,...</td>
337337
</tr>
338338
<tr>
339339
<th>4</th>
340340
<td>1</td>
341341
<td>101</td>
342342
<td>103</td>
343-
<td>POLYGON ((116.3194086874592 39.98418099449879,...</td>
343+
<td>POLYGON ((116.3194079223055 39.98418024420243,...</td>
344344
</tr>
345345
<tr>
346346
<th>5</th>
347347
<td>1</td>
348348
<td>104</td>
349349
<td>106</td>
350-
<td>POLYGON ((116.3198147268997 39.98458703393936,...</td>
350+
<td>POLYGON ((116.31981393946 39.98458626135696, 1...</td>
351351
</tr>
352352
<tr>
353353
<th>6</th>
354354
<td>1</td>
355355
<td>104</td>
356356
<td>105</td>
357-
<td>POLYGON ((116.3196793804195 39.98458703393936,...</td>
357+
<td>POLYGON ((116.3196786004085 39.98458626135696,...</td>
358358
</tr>
359359
</tbody>
360360
</table>
@@ -428,7 +428,7 @@ Read .pkl to grid
428428
'lat_min_y': 39.970511,
429429
'grid_size_lat_y': 341,
430430
'grid_size_lon_x': 266,
431-
'cell_size_by_degree': 0.0001353464801860623}
431+
'cell_size_by_degree': 0.00013533905150922183}
432432
433433
434434
@@ -437,8 +437,12 @@ Show a grid polygons
437437

438438
.. code:: ipython3
439439
440-
grid.show_grid_polygons(grid_data, return_fig=False)
440+
from pymove.visualization.matplotlib import plot_grid_polygons
441+
442+
.. code:: ipython3
443+
444+
plot_grid_polygons(grid_data, return_fig=False)
441445
442446
443447
444-
.. image:: 04_Exploring_Grid_files/04_Exploring_Grid_25_0.png
448+
.. image:: 04_Exploring_Grid_files/04_Exploring_Grid_26_0.png
-11.1 KB
Binary file not shown.
11.1 KB
Loading

0 commit comments

Comments
 (0)