Merge branch 'main' of github.com:marceloprates/prettymaps

pull/104/head
marceloprates 2022-11-08 13:27:34 -03:00
commit c70f32a8e6
1 zmienionych plików z 1 dodań i 69 usunięć

Wyświetl plik

@ -94,28 +94,7 @@ prettymaps.presets()
to list all available presets:
```python
prettymaps.presets()
```
<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">
<thead>
<tr style="text-align: right;">
@ -362,38 +341,17 @@ plot = prettymaps.plot(
)
```
![png](README_files/README_16_0.png)
You can access layers's GeoDataFrames directly like this:
```python
# 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.geodataframes['building']
```
<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">
<thead>
<tr style="text-align: right;">
@ -948,19 +906,6 @@ display(prettymaps.presets())
<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">
<thead>
<tr style="text-align: right;">
@ -1025,19 +970,6 @@ display(prettymaps.presets())
<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">
<thead>
<tr style="text-align: right;">