* Simplify plot_point_collection
Pass values or colors separately to c / color kwargs
Matplotlib automatically handles them well
* Simplify plot_linestring_collection
Handle values or colors separately.
Colors are then handles by the constructor of
LineCollection itself and don't need to be set
afterwards
* Simplify plot_polygon_collection
Handle values or colors separately.
Colors are then handles by the constructor of
PatchCollection itself and don't need to be set
afterwards
Difference is that color sets both face and edgecolor
* Update (and remove legacy support for alpha) plot_series/plot_frame
get plot_series and plot_frame working with the new plot_*_collection functions
removed the workaround to keep old alpha behaviour for polygons
(no longer apply alpha only on fill and not on edge)
changes in behaviour:
- color has now priority over facecolor, not the other way around
MutliPolygons without specifying values don't work yet
* compute s.geometry.type only once
* address review comments
* try to fix tests for older matplotlib versions
* PEP8 clean-up
* skip more tests with older matplotlib
* merge two testing functions
* Remove no longer used baseline images
* Remove dependency on unittest.TestCase (to be able to use pytest functionality) in test_geodataframe.py
* also remove unittest TestCase usage in other test files (+ PEP8 cleaning)
* remove check for old pandas version (not supported anymore)
* automatically close figures after plotting tests
* further cleanup tests/util.py
* ensure recent version of pytest is used
* Add coordinate indexing method cx to geodataframes
Add a few basic tests that it works on a geodataframe as it does for a
geoseries.
* Add docs on indexing, including slicing with cx
* Use consistent assert in gdf coord slice test
* Move _CoordinateIndexer to base module
With both geoseries and geodataframe modules using the class, base.py is
a better place to define the _CoordinateIndexer class.
Also add docs to the _CoordinateIndexer class.
With the previous tests of the style xs.start or xmin, if xs.start
equalled 0, xmin was taken, ignoring the user specified slice boundary.
This fixes that issue, and adds miminal testing around slices with
boundaries at 0.
* Add NYC borough boundaries as included dataset
* TST: add tests for the datasets
* Add readme for datasets directory with attribution
* add description to README
* TST: add more extensive tests of pandas functionality
* add first groupby methods
* add get_group and select_dtypes
* ensure array input to where
* fix select dtypes test
* fix max test for python 2 (on python 2 objects are orderable, so max works)
* skip test for pandas 0.16
* windows fix int64
* fix skipif
* TST: add more robust tests for sjoin (GH423)
* fix right join test
* fix windows test
* use parametrized test + add tests (xfail) for non-default index
* TST: remove building wheels - wheels are now available on PyPI
* add pip cache
* also remove pip wheel for pandas/matplotlib
* don't remove cython for master builds