From cca4070a0ffb040d96e31f7aff6156dec32b40a8 Mon Sep 17 00:00:00 2001 From: sadrasabouri Date: Mon, 27 Sep 2021 11:08:40 +0330 Subject: [PATCH] add : plot docstring added. (#1) --- samila/genimage.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/samila/genimage.py b/samila/genimage.py index 433633e..23fdd52 100644 --- a/samila/genimage.py +++ b/samila/genimage.py @@ -49,6 +49,19 @@ class GenerativeImage: spot_size=DEFAULT_SPOT_SIZE, size=DEFAULT_IMAGE_SIZE, projection=DEFAULT_PROJECTION): + """ + Plot the generated art. + + :param color: point colors + :type color: str + :param spot_size: point spot size + :type spot_size: float + :param size: figure size + :type size: tuple + :param projection: projection type + :type projection: str + :return: None + """ fig = plt.figure() fig.set_size_inches(size[0], size[1]) ax = fig.add_subplot(111, projection=projection)