DOC: update doc sidebar + remove about (#773)

This commit is contained in:
Joris Van den Bossche
2018-07-15 18:07:19 -05:00
committed by GitHub
parent 2d41edb271
commit 73d8bf6124
4 changed files with 36 additions and 15 deletions
-12
View File
@@ -1,12 +0,0 @@
About
=====
Known issues
------------
- The ``geopy`` API has changed significantly over recent versions,
``geopy 1.10.0`` is currently supported.
.. toctree::
:maxdepth: 2
+20 -2
View File
@@ -23,11 +23,18 @@ to multiple geometries to shapely. GeoPandas enables you to easily do
operations in python that would otherwise require a spatial database
such as PostGIS.
.. toctree::
:maxdepth: 2
:maxdepth: 1
:caption: Getting Started
Installation <install>
Examples Gallery <gallery/index>
.. toctree::
:maxdepth: 1
:caption: User Guide
Data Structures <data_structures>
Reading and Writing Files <io>
Indexing and Selecting Data <indexing>
@@ -38,9 +45,20 @@ such as PostGIS.
Aggregation with dissolve <aggregation_with_dissolve>
Merging Data <mergingdata>
Geocoding <geocoding>
.. toctree::
:maxdepth: 1
:caption: Reference Guide
Reference to All Attributes and Methods <reference>
.. toctree::
:maxdepth: 1
:caption: Developer
Contributing to GeoPandas <contributing>
About <about>
Indices and tables
==================
+9 -1
View File
@@ -7,7 +7,8 @@
import matplotlib
orig = matplotlib.rcParams['figure.figsize']
matplotlib.rcParams['figure.figsize'] = [orig[0] * 1.5, orig[1]]
import matplotlib.pyplot as plt
plt.close('all')
Mapping Tools
@@ -128,3 +129,10 @@ Links to jupyter Notebooks for different mapping tasks:
:suppress:
matplotlib.rcParams['figure.figsize'] = orig
.. ipython:: python
:suppress:
import matplotlib.pyplot as plt
plt.close('all')
+7
View File
@@ -2,6 +2,8 @@
:suppress:
import geopandas as gpd
import matplotlib.pyplot as plt
plt.close('all')
Set-Operations with Overlay
@@ -182,6 +184,11 @@ Changing the "how" option allows for different types of overlay operations. For
country_peripheries.plot(alpha=0.5, edgecolor='k', cmap='tab10');
.. ipython:: python
:suppress:
import matplotlib.pyplot as plt
plt.close('all')
More Examples