mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-14 12:50:39 +08:00
Minor fixes and improvements: PEP8, appearance, etc.
Removed a clumsy workaround (about paths) Fixed links to image files to fix sphinx warning. Removed non-ascii character Another non ascii character And another non-ascii character... (to be squashed later on) Corrected some typos in the docstrings of sphinx-gallery files These corrections have also been submitted as a patch to the original sphinx-gallery project (#121) Corrected the appearance of two examples of the gallery Tweaked CSS for larger images Added sphinx-gallery's license and a README.txt about the origin of this directory. Edited gabor_from_astronaut example for nicer popup PEP 8 + minor fixes Removed commented lines of code
This commit is contained in:
@@ -4,7 +4,7 @@ r"""
|
||||
Parser for Jupyter notebooks
|
||||
============================
|
||||
|
||||
Class that holds the Ipython notebook information
|
||||
Class that holds the Jupyter notebook information
|
||||
|
||||
"""
|
||||
# Author: Óscar Nájera
|
||||
@@ -48,7 +48,7 @@ def ipy_notebook_skeleton():
|
||||
|
||||
def rst2md(text):
|
||||
"""Converts the RST text from the examples docstrigs and comments
|
||||
into markdown text for the IPython notebooks"""
|
||||
into markdown text for the Jupyter notebooks"""
|
||||
|
||||
top_heading = re.compile(r'^=+$\s^([\w\s-]+)^=+$', flags=re.M)
|
||||
text = re.sub(top_heading, r'# \1', text)
|
||||
@@ -64,7 +64,7 @@ def rst2md(text):
|
||||
|
||||
|
||||
class Notebook(object):
|
||||
"""Ipython notebook object
|
||||
"""Jupyter notebook object
|
||||
|
||||
Constructs the file cell-by-cell and writes it at the end"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user