Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
test_invalid_colormap: ValueError not raised #4215
Comments
yarikoptic
referenced
this issue
Jul 11, 2013
Closed
read_html failing in many tests: AssertionError: No tables found #4214
|
@yarikoptic did you say you were using a customized back end? Also, can you show us what happens if you try to get a non-standard colormap from your version of matplotlib? This test, IIRC, just checks that plotting bubbles up the error from the mpl call to get the colormap. So if the other tests are passing, to me this suggests that either it's a matplotlib bug OR the Agg backend handles unknown colormaps differently. If there is variance in how colormaps are handled by backend, we should add a skip test at the start if directly asking for a bad colormap doesn't raise an error. |
|
Should have been @yarikoptic above (sorry about that!) |
|
For me even with the default interactive backend I get no exception while asking for the colormap
|
|
@yarikoptic I think t's because of the version of what you should see
my versions
|
|
|
|
yep it's the version, just installed 1.1.1 and it returns |
|
i'll add a version check in there in the test |
|
actually u know what i'll raise if the color map is |
|
wow mpl gained a hefty 29MB from 1.1.1 to 1.2.1... |
yarikoptic commentedJul 11, 2013
that is under Agg backend and matplotlib 1.1.1~rc2-1