Skip to content

Commit

Permalink
drop ScatterTable from toctree
Browse files Browse the repository at this point in the history
  • Loading branch information
nkanazawa1989 committed Sep 13, 2023
1 parent d64f461 commit 7b114de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion qiskit_experiments/curve_analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
CurveFitResult
ParameterRepr
FitOptions
ScatterTable
Visualization
=============
Expand Down
4 changes: 4 additions & 0 deletions qiskit_experiments/curve_analysis/scatter_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class ScatterTable(pd.DataFrame, DefaultColumnsMixIn):
"""

# TODO Add this to toctree. In current mechanism all pandas DataFrame members are rendered
# and it fails in the Sphinx build process. We may need a custom directive to
# exclude class members from an external package.

@classmethod
def _default_columns(cls) -> List[str]:
return [
Expand Down

0 comments on commit 7b114de

Please sign in to comment.