kopia lustrzana https://github.com/marceloprates/prettymaps
Update README.md
rodzic
0dbf445bf7
commit
066309e4b1
23
README.md
23
README.md
|
@ -341,38 +341,17 @@ plot = prettymaps.plot(
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
![png](README_files/README_16_0.png)
|
![png](README_files/README_16_0.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
You can access layers's GeoDataFrames directly like this:
|
You can access layers's GeoDataFrames directly like this:
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Run prettymaps in show = False mode (we're only interested in obtaining the GeoDataFrames)
|
# Run prettymaps in show = False mode (we're only interested in obtaining the GeoDataFrames)
|
||||||
plot = prettymaps.plot('Centro Histórico, Porto Alegre', show = False)
|
plot = prettymaps.plot('Centro Histórico, Porto Alegre', show = False)
|
||||||
plot.geodataframes['building']
|
plot.geodataframes['building']
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
|
|
Ładowanie…
Reference in New Issue