Skip to content

Clean up HexSingleGrid(HexGrid) andHexGrid #1847

Closed
@jackiekazil

Description

@jackiekazil

Discussed in #1827

Originally posted by jackiekazil October 2, 2023
Why is the HexSingleGrid subclassed from HexGrid and HexGrid has nothing in it?
I was reading through the code and confused by this -- because it is also visible in the docs. Wondering if there was logical reason or if someone remembered why? I was thinking we should get rid of HexGrid or make it private.

See the following two lines -

class HexSingleGrid(_HexGrid, SingleGrid):

class HexGrid(HexSingleGrid):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions