Skip to content

Commit

Permalink
Remove sphinx-tabs dependency (#175)
Browse files Browse the repository at this point in the history
* Remove `sphinx-tabs` dependency.

* Fix errors

* Update conf.py
  • Loading branch information
tkoyama010 authored Oct 8, 2023
1 parent 25f427b commit 23de1b6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
'sphinx.ext.napoleon',
'sphinx_copybutton',
'sphinx_gallery.gen_gallery',
'sphinx_tabs.tabs',
'sphinxcontrib.asciinema',
]

Expand Down
6 changes: 3 additions & 3 deletions doc/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Installation

PyVista can be installed on several environments, including, but not limited to:

.. tabs::
.. tab-set::

.. tab:: pip
.. tab-item:: pip

.. code::
pip install 'pyvista[all]' jupyterlab
.. tab:: conda
.. tab-item:: conda

.. code::
Expand Down
1 change: 0 additions & 1 deletion requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ sphinx-autobuild==2021.3.14
sphinx-copybutton==0.5.0
sphinx-gallery==0.11.1
sphinx-notfound-page==0.8.3
sphinx-tabs
sphinx_design==0.3.0
sphinxcontrib-websupport==1.2.4
sphinxcontrib.asciinema
Expand Down
16 changes: 8 additions & 8 deletions tutorial/00_intro/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ These examples demonstrate how you can use both PyVista and VTK to construct
and visualize a point cloud using ``numpy``. Here, we demonstrate how easy it
is to work directly with NumPy arrays.

.. tabs::
.. tab-set::

.. tab:: VTK
.. tab-item:: VTK

This example was taken from this `SO Answer
<https://stackoverflow.com/a/7604478/3369879>`_.
Expand Down Expand Up @@ -209,7 +209,7 @@ is to work directly with NumPy arrays.
renderWindow.Render()
renderWindowInteractor.Start()
.. tab:: PyVista
.. tab-item:: PyVista

.. jupyter-execute::

Expand All @@ -233,9 +233,9 @@ interested in data visualization, I'd encourage you for explore them all!

Here's a few of them:

.. tabs::
.. tab-set::

.. tab:: vtk
.. tab-item:: vtk

The Visualization Toolkit (`VTK <https://vtk.org/>`_) is open source
software for manipulating and displaying scientific data. It comes with
Expand All @@ -245,7 +245,7 @@ Here's a few of them:
.. image:: https://miro.medium.com/max/1400/1*B3aEPDxSvgR6Giyh4I4a2w.jpeg
:alt: VTK

.. tab:: ParaView
.. tab-item:: ParaView

`ParaView <https://www.paraview.org/>`_ is an open-source, multi-platform
data analysis and visualization application. ParaView users can quickly
Expand All @@ -256,15 +256,15 @@ Here's a few of them:
.. image:: https://www.kitware.com/main/wp-content/uploads/2018/11/ParaView-5.6.png
:alt: ParaView

.. tab:: vedo
.. tab-item:: vedo

`vedo <https://vedo.embl.es/>`_ is a Python library for scientific
analysis of 3D objects and point clouds based on VTK and numpy.

.. image:: https://user-images.githubusercontent.com/32848391/80292484-50757180-8757-11ea-841f-2c0c5fe2c3b4.jpg
:alt: vedo

.. tab:: Mayavi
.. tab-item:: Mayavi

`Mayavi <https://docs.enthought.com/mayavi/mayavi/>`_ is a general
purpose, cross-platform tool for 2-D and 3-D scientific data
Expand Down

1 comment on commit 23de1b6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.