Skip to content

Commit

Permalink
Update import for circle-based shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin committed Nov 25, 2024
1 parent 72089f0 commit 9e9740a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/data_morph/shapes/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

from ..data.dataset import Dataset
from ..plotting.style import plot_with_custom_style
from . import circles
from .bases.shape import Shape
from .circles import Bullseye, Circle, Rings
from .lines import (
Diamond,
HighLines,
Expand Down Expand Up @@ -57,8 +57,8 @@ class ShapeFactory:
"""

_SHAPE_MAPPING: dict = {
'bullseye': circles.Bullseye,
'circle': circles.Circle,
'bullseye': Bullseye,
'circle': Circle,
'high_lines': HighLines,
'h_lines': HorizontalLines,
'slant_down': SlantDownLines,
Expand All @@ -75,7 +75,7 @@ class ShapeFactory:
'up_parab': UpParabola,
'diamond': Diamond,
'rectangle': Rectangle,
'rings': circles.Rings,
'rings': Rings,
'star': Star,
'club': Club,
'spade': Spade,
Expand Down

0 comments on commit 9e9740a

Please sign in to comment.