Skip to content

Commit

Permalink
minior
Browse files Browse the repository at this point in the history
  • Loading branch information
lindemann09 committed Nov 21, 2024
1 parent 944b96a commit 84114f9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ venv/
*/.ipynb_checkpoints/
examples/pynsn

test-*
test*
*.json
*.svg
*.png
Expand Down
2 changes: 1 addition & 1 deletion pynsn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

from . import defaults
from . import exceptions
from . import typing
from ._shapes import (Point2D, Dot, Rectangle, Picture, Ellipse, PolygonShape,
Colour)
from ._stimulus import (NSNStimulus, NSNStimulusPair, VP)
from . import rnd
from .rnd._factory import StimulusFactory
from . import fit
from . import typing # must be important as last model
2 changes: 1 addition & 1 deletion pynsn/collections/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from ._coll_stim import CollectionStimuli, AbstractCollection
from ._coll_stim import CollectionStimuli
from ._coll_stim_pairs import CollectionStimulusPairs
from . import fit
2 changes: 1 addition & 1 deletion pynsn/rnd/_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def sample(self, n: int) -> NDArray:
"""

def pyplot_samples(self, n=100000):
def pyplot_samples(self, n=100000): # FIXME to plot
"""Creating a visualization of the distribution with ``matplotlib.pyplot``
Args:
Expand Down
4 changes: 3 additions & 1 deletion pynsn/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# pylint: disable=W0611

from ._shapes.abc_shapes import (AbstractCircularShape, AbstractPoint, Numeric,
from ._shapes.abc_shapes import (AbstractCircularShape, Numeric,
AbstractShape, Coord2DLike, AttributeType)
from ._shapes.colour import ColourLike, RGBType
from ._stimulus.convex_hull import ConvexHull
Expand All @@ -14,3 +14,5 @@
AbstractContinuousDistr, CategoricalLike, ConstantLike)
from .rnd._distributions_2d import Abstract2dDistr
from .rnd._random_shape import AbstractRndShape, DistributionLike

from .collections._abc_coll import AbstractCollection, ListNSNStimuli, ListNSNStimPairs
31 changes: 0 additions & 31 deletions testing.py

This file was deleted.

0 comments on commit 84114f9

Please sign in to comment.