Skip to content

Commit

Permalink
remove anesthetic PlotAccessor from labelled_pandas, so now just a pa…
Browse files Browse the repository at this point in the history
…tch update
  • Loading branch information
AdamOrmondroyd committed Sep 29, 2023
1 parent 3d481d6 commit 0569afe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
anesthetic: nested sampling post-processing
===========================================
:Authors: Will Handley and Lukas Hergt
:Version: 2.4.0
:Version: 2.3.5
:Homepage: https://github.com/handley-lab/anesthetic
:Documentation: http://anesthetic.readthedocs.io/

Expand Down
2 changes: 1 addition & 1 deletion anesthetic/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.4.0'
__version__ = '2.3.5'
5 changes: 0 additions & 5 deletions anesthetic/labelled_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import numpy as np
from functools import cmp_to_key
from pandas.errors import IndexingError
from pandas.core.accessor import CachedAccessor
from anesthetic.plotting import PlotAccessor


def ac(funcs, *args):
Expand Down Expand Up @@ -97,9 +95,6 @@ def __init__(self, *args, **kwargs):
if labels is not None:
self.set_labels(labels, inplace=True)

plot = CachedAccessor("plot", PlotAccessor)
""":meta private:"""

def islabelled(self, axis=0):
"""Search for existence of labels."""
intersection = set(self._labels) & set(self._get_axis(axis).names)
Expand Down

0 comments on commit 0569afe

Please sign in to comment.