Skip to content

JointGrid .set bug #3850

Open
Open
@gouinK

Description

@gouinK

JointGrid appears to not support the .set method because axes is not a defined property for the JointGrid class. The documentation seems to indicate that it should support this method though.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[11], line 1
----> 1 g.set(xlabel= 'test')

File ../seaborn/axisgrid.py:42, in _BaseGrid.set(self, **kwargs)
     40 def set(self, **kwargs):
     41     """Set attributes on each subplot Axes."""
---> 42     for ax in self.axes.flat:
     43         if ax is not None:  # Handle removed axes
     44             ax.set(**kwargs)

AttributeError: 'JointGrid' object has no attribute 'axes'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions