#98938 Report by node Daniels-MacBook-Air covering 1359 tests from 38 modules resulted into 73 errors

Report

ObsPy Version
1.0.2
Continuous Integration
-
GitHub Pull Request
-
Report File
XML Document
Total Runtime
316.0 sec
Report Date/Time
2018-10-19 00:13:41

System / Python

Architecture
64bit
Machine
x86_64
Node
Daniels-MacBook-Air
Processor
i386
Python Compiler
GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
3.5.5
Release
17.7.0
System
Darwin
Version
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.3.0
flake8
---
future
0.16.0
geographiclib
---
lxml.etree
4.2.1
m2crypto
---
matplotlib
2.2.2
mock
---
mpl_toolkits.basemap
1.1.0
numpy
1.13.3
osgeo.gdal
---
pep8-naming
---
pyflakes
2.0.0
pyimgur
---
pyproj
1.9.5.1
requests
2.18.4
scipy
1.1.0
setuptools
39.2.0
sqlalchemy
1.2.8

Modules (38)

Module Errors /
Failures
Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
obspy.db - -
obspy.geodetics - -
obspy.imaging 36 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
obspy.io.ah - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.datamark - -
obspy.io.gse2 - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.sac - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.signal 8 57 58 59 60 61 62 63 64
obspy.taup 9 65 66 67 68 69 70 71 72 73
Summary 73 73

Tracebacks (73)

Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_station.py", line 58, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/mpl_toolkits/basemap/__init__.py", line 1223, in _readboundarydata
bdatfile = open(os.path.join(basemap_datadir,name+'_'+self.resolution+'.dat'),'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/Users/danielmartinez/anaconda3/share/basemap/gshhs_i.dat'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_event.py", line 534, in test_catalog_plot_local
color='date', colormap='gist_heat')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 753, in plot
show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 235, in plot_basemap
title="", adjust_aspect_to_colorbar=colorbar, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 359, in _plot_basemap_into_axes
width=width, height=height, ax=ax)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/mpl_toolkits/basemap/__init__.py", line 1112, in __init__
self._readboundarydata('gshhs',as_polygons=True)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/mpl_toolkits/basemap/__init__.py", line 1226, in _readboundarydata
raise IOError(msg)
OSError: Unable to open boundary dataset file. Only the 'crude' and 'low',
resolution datasets are installed by default.
If you are requesting an, 'intermediate', 'high' or 'full'
resolution dataset, you may need to download and install those
files separately with
`conda install -c conda-forge basemap-data-hires`.
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_network.py", line 149, in test_response_plot
time=t, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 399, in test_location_plot_local
outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 635, in plot
title=None, show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: 'b'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_event.py", line 502, in test_catalog_plot_ortho
color='date')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 753, in plot
show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 235, in plot_basemap
title="", adjust_aspect_to_colorbar=colorbar, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 402, in _plot_basemap_into_axes
ax.set_axis_bgcolor(water_fill_color)
AttributeError: 'Axes' object has no attribute 'set_axis_bgcolor'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_event.py", line 152, in test_plot_farfield_without_quiver_with_maps
['p_sphere', 's_sphere']], outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/event.py", line 247, in plot
**kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 746, in plot
show=False, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 402, in _plot_basemap_into_axes
ax.set_axis_bgcolor(water_fill_color)
AttributeError: 'AxesSubplot' object has no attribute 'set_axis_bgcolor'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_trace.py", line 2205, in test_remove_response_plot
water_level=60, end_stage=None, plot=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: trace_remove_response.png
	RMS: 53.98174844995562
	Tolerance: 4.5
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 164, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_network.py", line 313, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/network.py", line 513, in plot
show=False, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: '#'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_stream.py", line 1869, in test_plot
self.mseed_stream.plot(show=False)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_network.py", line 294, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/network.py", line 513, in plot
show=False, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: 'e'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_event.py", line 516, in test_catalog_plot_ortho_longitude_wrap
water_fill_color='b')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 753, in plot
show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 235, in plot_basemap
title="", adjust_aspect_to_colorbar=colorbar, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 402, in _plot_basemap_into_axes
ax.set_axis_bgcolor(water_fill_color)
AttributeError: 'Axes' object has no attribute 'set_axis_bgcolor'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_channel.py", line 63, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'tuple' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 379, in test_location_plot_ortho
colormap='Set3', color_per_network=True, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 635, in plot
title=None, show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
TypeError: float() argument must be a string or a number, not 'tuple'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 366, in test_location_plot_global
inv.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 635, in plot
title=None, show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 760, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: '#b15928'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_event.py", line 490, in test_catalog_plot_global
cat.plot(method='basemap', outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/event/catalog.py", line 753, in plot
show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 235, in plot_basemap
title="", adjust_aspect_to_colorbar=colorbar, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 402, in _plot_basemap_into_axes
ax.set_axis_bgcolor(water_fill_color)
AttributeError: 'Axes' object has no attribute 'set_axis_bgcolor'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_response.py", line 138, in test_response_plot
outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (345, 460, 4) is not equal to the expected shape (432, 576, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_network.py", line 281, in test_location_plot_global
net.plot(method='basemap', outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/network.py", line 513, in plot
show=False, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 769, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: '#'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 101, in _sanitize_extrema
ret = np.asscalar(ex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/numpy/lib/type_check.py", line 480, in asscalar
return a.item()
AttributeError: 'str' object has no attribute 'item'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_inventory.py", line 417, in test_combined_station_event_plot
fig = inv.plot(show=False)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/inventory/inventory.py", line 635, in plot
title=None, show=False, fig=fig, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 760, in plot_map
return plot_basemap(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/maps.py", line 179, in plot_basemap
scal_map = ScalarMappable(norm=Normalize(min_color, max_color),
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 892, in __init__
self.vmin = _sanitize_extrema(vmin)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/colors.py", line 103, in _sanitize_extrema
ret = float(ex)
ValueError: could not convert string to float: '#b15928'
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/tests/test_trace.py", line 1414, in test_plot
tr.plot(show=False)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 46, in test_ppsd_plot
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 69, in test_ppsd_plot_frequency
fig.savefig(ic.name, dpi=50)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (240, 320, 4) is not equal to the expected shape (300, 400, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 402, in test_plot_day_plot_explicit_event
{'time': event5, 'text': 'Event 5'}])
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 95, in test_multiple_sampling_rates
obspy_scan(files + ['--output', ic.name, '--quiet'])
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (288, 432, 4) is not equal to the expected shape (400, 600, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 328, in test_plot_ref_time_section
st.plot(outfile=ic.name, type='section', reftime=reftime)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 23.968450374050747
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 416, in test_plot_day_plot_catalog
events=cat)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 122, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_mopad.py", line 79, in test_collection
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge
all_files)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 300, in test_plot_azim_section
ev_coord=(0.0, 0.0))
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_azim_section.png
	RMS: 24.130108440148653
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 326, in test_mopad_fallback
beachball(mt, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: mopad_fallback.png
	RMS: 71.48701700308945
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 150, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 313, in test_plot_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_horiz_section.png
	RMS: 26.81245083911577
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 207, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 380, in test_plot_day_plot
timezone='EST', time_offset=-5)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 283, in plot_waveform
self.plot_day(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 460, in plot_day
ax = self.fig.add_subplot(1, 1, 1, axisbg=self.background_color)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 368, in test_plot_ref_time_relative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 186, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 343, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 20.87830069713529
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 314, in test_collection_aspect_y
filename_width_height='bb_aspect_y_height.png')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_ppsd.py", line 95, in test_ppsd_plot_cumulative
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 165, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 305, in test_collection_aspect_x
filename_width_height='bb_aspect_x_height.png')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 280, in collection_aspect
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.imaging.__init__
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 35, in obspy.imaging.__init__
Failed example:
st.plot(color='gray', tick_format='%I:%M %p',
starttime=st[0].stats.starttime,
endtime=st[0].stats.starttime+20)
Exception raised:
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/doctest.py", line 1321, in __run
compileflags, 1), test.globs)
File "<doctest obspy.imaging.__init__[3]>", line 3, in <module>
endtime=st[0].stats.starttime+20)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
----------------------------------------------------------------------
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 109, in obspy.imaging.__init__
Failed example:
beachball(np1) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
----------------------------------------------------------------------
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/__init__.py", line 128, in obspy.imaging.__init__
Failed example:
beachball(mt) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 24.215133560096945
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 52, in test_scan
obspy_scan([os.curdir] + ['--output', ic.name, '--quiet'])
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (468, 1872, 4) is not equal to the expected shape (650, 2600, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_spectrogram.py", line 49, in test_spectrogram
np.seterr(**np_err)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 354, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 83, in test_beachball
beachball(data_, outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: bb_sumatra_mt.png
	RMS: 79.80270672101291
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 78, in test_data_remains_unchanged
st.plot(format='png')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 135, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_scan.py", line 69, in test_scan_times
['--quiet'])
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (468, 876, 4) is not equal to the expected shape (650, 1216, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_waveform.py", line 265, in test_plot_binning_error
tr.plot(outfile=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/trace.py", line 846, in plot
return waveform.plot_waveform()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_plot.py", line 44, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/scripts/plot.py", line 38, in main
st.plot(outfile=args.outfile, automerge=args.automerge)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/stream.py", line 1147, in plot
return waveform.plot_waveform(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 287, in plot_waveform
self.plot(*args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/waveform.py", line 390, in plot
sharex=sharex)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 888, in <listcomp>
for k, v in props.items()]
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/imaging/tests/test_beachball.py", line 254, in test_collection
fig.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (1800, 1800, 4) is not equal to the expected shape (600, 600, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 462, in test_ppsd_restricted_stacks
np.seterr(**_t)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_detrend.py", line 73, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: polynomial_detrend.png
	RMS: 60.65151341887521
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_detrend.py", line 87, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: degree_1_spline_detrend.png
	RMS: 61.446556941784785
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_freqattributes.py", line 143, in test_logcep
self.p, self.n, 'Hamming')
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/freqattributes.py", line 359, in log_cepstrum
m, a, b = log_spaced_filterbank_matrix(p, nfft, fs, w)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/freqattributes.py", line 330, in log_spaced_filterbank_matrix
xx = sparse.coo_matrix((v, (c, r))).transpose().todense()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/scipy/sparse/coo.py", line 150, in __init__
self._shape = check_shape((M, N))
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/scipy/sparse/sputils.py", line 281, in check_shape
new_shape = tuple(operator.index(arg) for arg in args)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/scipy/sparse/sputils.py", line 281, in <genexpr>
new_shape = tuple(operator.index(arg) for arg in args)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_tf_misfit.py", line 262, in test_plot_tfr
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/doctest.py", line 2190, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._sosfilt
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/_sosfilt.py", line 403, in _sosfilt
----------------------------------------------------------------------
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/_sosfilt.py", line 466, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.figure() # doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 640x480 with 0 Axes>
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_cross_correlation.py", line 74, in test_xcorr_pick_correction_images
t1, tr1, t2, tr2, 0.05, 0.2, 0.1, plot=True, filename=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 402, in __exit__
msg = self.compare()
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 500, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 219, in compare_images
str(expected_image.shape)))
obspy.core.util.testing.ImageComparisonException: The shape of the received image (480, 640, 4) is not equal to the expected shape (600, 800, 4).
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/signal/tests/test_interpolation.py", line 136, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: plot_lanczos_window.png
	RMS: 47.83442832660732
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 74, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 21.219802826605154
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 65, in test_spherical_more_then_360_degrees
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_more_then_360.png
	RMS: 20.83252533899815
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 55, in test_spherical_many_phases_no_other_way
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_single_way.png
	RMS: 28.894513804526976
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 93, in test_cartesian_many_phases_buried_station
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_buried_station.png
	RMS: 45.60233327363853
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_multiple_station_markers
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_multiple_stations.png
	RMS: 41.6316594272516
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 81, in test_cartesian_many_phases
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases.png
	RMS: 44.7142244332457
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 32, in test_spherical_many_phases
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases.png
	RMS: 34.50491906960513
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 44, in test_spherical_many_phases_buried_station
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_many_phases_buried_station.png
	RMS: 34.867456460143465
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last):
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/taup/tests/test_plotting.py", line 104, in test_cartesian_many_phases_no_other_way
plt.savefig(ic.name)
File "/Users/danielmartinez/anaconda3/lib/python3.5/site-packages/obspy/core/util/testing.py", line 469, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: cartesian_many_phases_single_way.png
	RMS: 43.996592292282514
	Tolerance: 3.0
Upload to imgur failed (caught ImportError: No module named 'pyimgur').

Slowest Tests (20)

Runtime Test
22.143s test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
20.485s test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase)
19.449s test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
15.361s test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase)
12.295s test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase)
10.677s test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase)
10.494s test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase)
8.146s test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase)
7.019s test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)
6.611s test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)
5.712s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
5.625s test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase)
5.414s read (obspy.core.stream)
4.363s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.360s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.320s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.873s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.871s test_read (obspy.core.tests.test_stream.StreamTestCase)
3.708s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.469s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)

Chuck Norris Fact

Chuck Norris's OSI network model has only one layer - Physical.