Update README.md

pull/104/head
Marcelo de Oliveira Rosa Prates 2022-11-08 12:57:53 -03:00 zatwierdzone przez GitHub
rodzic 0dbf445bf7
commit 066309e4b1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 22 usunięć

Wyświetl plik

@ -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;">