@MMabathoN ➜ /workspaces/boilerplate-page-view-time-series-visualizer (main) $ /workspaces/boilerplate-page-view-time-series-visualizer/.venv/bin/python /workspaces/boilerplate-page-view-time-series-visualizer/test_module.py
EEEEEEE....
======================================================================
ERROR: test_bar_plot_labels (__main__.BarPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 37, in setUp
self.fig = time_series_visualizer.draw_bar_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 39, in draw_bar_plot
df_bar.columns = ['January', 'February', 'March', 'April', 'May' 'June', 'July', 'August', 'September', 'October', 'November', 'December']
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 5915, in __setattr__
return object.__setattr__(self, name, value)
File "pandas/_libs/properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 823, in _set_axis
self._mgr.set_axis(axis, labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 230, in set_axis
self._validate_set_axis(axis, new_labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/base.py", line 70, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 12 elements, new values have 11 elements
======================================================================
ERROR: test_bar_plot_legend_labels (__main__.BarPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 37, in setUp
self.fig = time_series_visualizer.draw_bar_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 39, in draw_bar_plot
df_bar.columns = ['January', 'February', 'March', 'April', 'May' 'June', 'July', 'August', 'September', 'October', 'November', 'December']
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 5915, in __setattr__
return object.__setattr__(self, name, value)
File "pandas/_libs/properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 823, in _set_axis
self._mgr.set_axis(axis, labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 230, in set_axis
self._validate_set_axis(axis, new_labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/base.py", line 70, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 12 elements, new values have 11 elements
======================================================================
ERROR: test_bar_plot_number_of_bars (__main__.BarPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 37, in setUp
self.fig = time_series_visualizer.draw_bar_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 39, in draw_bar_plot
df_bar.columns = ['January', 'February', 'March', 'April', 'May' 'June', 'July', 'August', 'September', 'October', 'November', 'December']
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 5915, in __setattr__
return object.__setattr__(self, name, value)
File "pandas/_libs/properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 823, in _set_axis
self._mgr.set_axis(axis, labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 230, in set_axis
self._validate_set_axis(axis, new_labels)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/pandas/core/internals/base.py", line 70, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 12 elements, new values have 11 elements
======================================================================
ERROR: test_box_plot_labels (__main__.BoxPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 68, in setUp
self.fig = time_series_visualizer.draw_box_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 65, in draw_box_plot
sns.boxplot(x='year', y='value', data=df_box, ax=axes[0])
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 2229, in boxplot
plotter = _BoxPlotter(x, y, hue, data, order, hue_order,
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 446, in __init__
self.establish_variables(x, y, hue, data, orient, order, hue_order)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 158, in establish_variables
orient = self.infer_orient(x, y, orient)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 359, in infer_orient
elif is_not_numeric(y):
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 339, in is_not_numeric
np.asarray(s, dtype=np.float)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
======================================================================
ERROR: test_box_plot_number (__main__.BoxPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 68, in setUp
self.fig = time_series_visualizer.draw_box_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 65, in draw_box_plot
sns.boxplot(x='year', y='value', data=df_box, ax=axes[0])
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 2229, in boxplot
plotter = _BoxPlotter(x, y, hue, data, order, hue_order,
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 446, in __init__
self.establish_variables(x, y, hue, data, orient, order, hue_order)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 158, in establish_variables
orient = self.infer_orient(x, y, orient)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 359, in infer_orient
elif is_not_numeric(y):
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 339, in is_not_numeric
np.asarray(s, dtype=np.float)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
======================================================================
ERROR: test_box_plot_number_of_boxes (__main__.BoxPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 68, in setUp
self.fig = time_series_visualizer.draw_box_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 65, in draw_box_plot
sns.boxplot(x='year', y='value', data=df_box, ax=axes[0])
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 2229, in boxplot
plotter = _BoxPlotter(x, y, hue, data, order, hue_order,
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 446, in __init__
self.establish_variables(x, y, hue, data, orient, order, hue_order)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 158, in establish_variables
orient = self.infer_orient(x, y, orient)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 359, in infer_orient
elif is_not_numeric(y):
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 339, in is_not_numeric
np.asarray(s, dtype=np.float)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
======================================================================
ERROR: test_box_plot_titles (__main__.BoxPlotTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspaces/boilerplate-page-view-time-series-visualizer/test_module.py", line 68, in setUp
self.fig = time_series_visualizer.draw_box_plot()
File "/workspaces/boilerplate-page-view-time-series-visualizer/time_series_visualizer.py", line 65, in draw_box_plot
sns.boxplot(x='year', y='value', data=df_box, ax=axes[0])
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 2229, in boxplot
plotter = _BoxPlotter(x, y, hue, data, order, hue_order,
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 446, in __init__
self.establish_variables(x, y, hue, data, orient, order, hue_order)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 158, in establish_variables
orient = self.infer_orient(x, y, orient)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 359, in infer_orient
elif is_not_numeric(y):
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/seaborn/categorical.py", line 339, in is_not_numeric
np.asarray(s, dtype=np.float)
File "/workspaces/boilerplate-page-view-time-series-visualizer/.venv/lib/python3.10/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations