Repository navigation
Error in notebook build #1330
Copy link
Copy link
Closed
Labels
bugIssues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!Issues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!docsPlasmaPy Docs at http://docs.plasmapy.orgPlasmaPy Docs at http://docs.plasmapy.org
Description
There was a documentation build error in (but not related to) #1327:
Notebook error:
CellExecutionError in notebooks/diagnostics/langmuir_analysis.ipynb:
------------------
pprint(
swept_probe_analysis(
characteristic, probe_area, "He-4+", visualize=True, plot_EEDF=True
)
)
------------------
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_3617/2539010110.py in <module>
1 pprint(
----> 2 swept_probe_analysis(
3 characteristic, probe_area, "He-4+", visualize=True, plot_EEDF=True
4 )
5 )
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/plasmapy/utils/decorators/helpers.py in wrapper(*args, **kwargs)
135 @functools.wraps(f, assigned=assigned)
136 def wrapper(*args, **kwargs):
--> 137 return f(*args, **kwargs)
138
139 # add '__signature__' if it does not exist
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/plasmapy/utils/decorators/validators.py in wrapper(*args, **kwargs)
202
203 # call function
--> 204 _return = f(**bound_args.arguments)
205
206 # validate output
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/plasmapy/diagnostics/langmuir.py in swept_probe_analysis(probe_characteristic, probe_area, gas_argument, bimaxwellian, visualize, plot_electron_fit, plot_EEDF)
416 )
417 ax2.plot(tot_current.bias, np.abs(tot_current.current), c="g")
--> 418 ax2.set_yscale("log", nonposy="clip")
419 ax1.legend(loc="best")
420 ax2.legend(loc="best")
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/matplotlib/axes/_base.py in set_yscale(self, value, **kwargs)
4098 g = self.get_shared_y_axes()
4099 for ax in g.get_siblings(self):
-> 4100 ax.yaxis._set_scale(value, **kwargs)
4101 ax._update_transScale()
4102 ax.stale = True
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/matplotlib/axis.py in _set_scale(self, value, **kwargs)
759 def _set_scale(self, value, **kwargs):
760 if not isinstance(value, mscale.ScaleBase):
--> 761 self._scale = mscale.scale_factory(value, self, **kwargs)
762 else:
763 self._scale = value
/home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/lib/python3.8/site-packages/matplotlib/scale.py in scale_factory(scale, axis, **kwargs)
595 scale = scale.lower()
596 scale_cls = _api.check_getitem(_scale_mapping, scale=scale)
--> 597 return scale_cls(axis, **kwargs)
598
599
TypeError: __init__() got an unexpected keyword argument 'nonposy'
TypeError: __init__() got an unexpected keyword argument 'nonposy'
You can ignore this error by setting the following in conf.py:
nbsphinx_allow_errors = True
ERROR: InvocationError for command /home/runner/work/PlasmaPy/PlasmaPy/.tox/build_docs/bin/sphinx-build docs docs/_build/html -W --keep-going -b html -q (exited with code 2)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!Issues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!docsPlasmaPy Docs at http://docs.plasmapy.orgPlasmaPy Docs at http://docs.plasmapy.org
Activity
StanczakDominik commentedon Nov 23, 2021
Closed by #1334 :)