Skip to content

Commit

Permalink
Merge pull request dipy#3350 from jhlegarreta/FixImageScaleDocWarnings
Browse files Browse the repository at this point in the history
DOC: Do not use the `scale` option for URL-based images
  • Loading branch information
skoudoro authored Sep 2, 2024
2 parents aadc101 + 916ea80 commit ee2da04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/examples/denoise_patch2self.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
The Patch2Self Framework:
.. _patch2self:
.. figure:: https://github.com/dipy/dipy_data/blob/master/Patch2Self_Framework.PNG?raw=true
:scale: 60 %
.. image:: https://github.com/dipy/dipy_data/blob/master/Patch2Self_Framework.PNG?raw=true
:width: 70 %
:align: center
The above figure demonstrates the working of Patch2Self. The idea is to build
Expand Down
4 changes: 0 additions & 4 deletions doc/interfaces/denoise_flow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@ This command will denoise the diffusion image and save it to the specified
output directory.

.. |image3| image:: https://github.com/dipy/dipy_data/blob/master/sherbrooke_3shell_original.png?raw=true
:scale: 70%
:align: middle
.. |image4| image:: https://github.com/dipy/dipy_data/blob/master/sherbrooke_3shell_denoise_MPPCA.png?raw=true
:scale: 70%
:align: middle

+--------------------+--------------------+
Expand Down Expand Up @@ -150,10 +148,8 @@ The command will denoise the input diffusion volume and write the result to the
specified output directory.

.. |image5| image:: https://github.com/dipy/dipy_data/blob/master/cfin_multib_original.png?raw=true
:scale: 20%
:align: middle
.. |image6| image:: https://github.com/dipy/dipy_data/blob/master/cfin_multib_denoise_NLMEANS.png?raw=true
:scale: 20%
:align: middle

+--------------------+--------------------+
Expand Down

0 comments on commit ee2da04

Please sign in to comment.