Commit Graph
24 Commits
Author SHA1 Message Date
Micah Cochran 73f7233134 unittest: call mkdir & rmtree once for the class
This patch calls setUpClass and tearDownClass once. (setUp and tearDown were called once for each test fixture [3-4 times]).  This is very minor change.
2016-02-26 11:41:27 -06:00
Joris Van den Bossche a177855d62 Plotting: pass kwargs also for lines and points 2015-12-18 13:46:19 +01:00
Dani Arribas-Bel f16e7415f4 Fix for #229 2015-12-17 00:15:55 +00:00
Jeffrey Gerard 652342023e BUG: 0 is a valid value for vmin, vmax
Previously, a value of min=0 was interpreted as False and ignored.

I added a new test case that failed before and passes now.
2015-11-11 14:28:34 -08:00
Joris Van den Bossche 9c2d84c894 ENH: plot with single colors 2015-10-31 01:45:20 +01:00
Joris Van den Bossche 76a79c7da8 Fix test after colormap->cmap change 2015-10-30 20:41:30 +01:00
Kelsey Jordahl 138d57e402 Merge pull request #228 from darribas/fix208
Fix208
2015-10-30 09:05:56 -07:00
Joris Van den Bossche a4dfda959a TST: Add tests for plotting points 2015-10-30 11:26:01 +01:00
Dani Arribas-Bel 57324cfe9f Adapting tests 2015-10-09 22:52:21 +01:00
Joris Van den Bossche 3b395d474a Add test for legend with PySAL choropleth plots 2015-08-23 12:09:04 +02:00
Maximilian Albert 51e11fcfc4 Import unittest from util.py (which imports unittest2 under the hood for Python 2.6) to make skipIf work for all Python versions. 2015-08-14 00:26:47 +01:00
Maximilian Albert 74b5896dab Skip test on Travis (as it fails even though it passes locally and it's not clear why). 2015-08-13 23:43:34 +01:00
Maximilian Albert 6e9772b292 Add test which plots a simple GeoDataFrame using various extra keyword arguments, to see if they are honoured. 2015-08-11 18:33:45 +01:00
Matthew Perry c4d9aa15f0 spatial joins 2014-07-22 10:31:51 -07:00
Kelsey Jordahl 90165de30e TST: Move matplotlib.use() to before other matplotlib imports 2014-05-06 22:21:32 -04:00
Kelsey Jordahl 580afdb515 TST: Set matplotlib backend to Agg in test 2014-05-06 22:03:35 -04:00
Kelsey Jordahl 08e4be9f6c PY3: Use six imports for generator and xrange 2014-04-16 14:53:02 -04:00
Kelsey Jordahl 10722da48e PY3: Use explicit relative imports in tests 2014-04-15 18:12:09 -04:00
Kelsey Jordahl 152055a011 TST: Better aspect ratio for lines plot 2013-10-29 19:34:24 -04:00
Kelsey Jordahl ee9a89d9ca TST: Add tests for plotting points and lines 2013-10-29 19:31:41 -04:00
Kelsey Jordahl 78e9935458 TST: Refactor plot test to put repetitive code in helper methods 2013-10-29 19:17:29 -04:00
Kelsey Jordahl e6b6e458c4 TST: Use compare_images rather than decorator and switch back to unittest.TestCase 2013-10-28 22:54:52 -04:00
Kelsey Jordahl 0873030813 TST: Use matplotlib image_comparison to actually compare plot output 2013-10-23 17:48:27 -04:00
Kelsey Jordahl b2e7ec1e0a TST: Initial simple plotting test 2013-10-23 08:57:50 -04:00