pyrqa/image_generator.py
def generate_recurrence_plot(cls, recurrence_matrix):
        """
        Generate recurrence plot from recurrence matrix

        :param recurrence_matrix: Recurrence matrix.
        :returns: Recurrence plot.
        :rtype: PIL image.
        """
        pil_image = Image.fromarray(recurrence_matrix * 255)
        pil_image = ImageOps.invert(pil_image)
        pil_image = pil_image.convert(mode='RGBA', palette=Image.ADAPTIVE)

        return pil_image

        Generate recurrence plot from recurrence matrix

        :param recurrence_matrix: Recurrence matrix.
        :returns: Recurrence plot.
        :rtype: PIL image.
        
Generate recurrence plot from recurrence matrix
Generate recurrence plot from recurrence matrix
def generate_recurrence_plot(cls, recurrence_matrix):
        pil_image = Image.fromarray(recurrence_matrix * 255)
        pil_image = ImageOps.invert(pil_image)
        pil_image = pil_image.convert(mode='RGBA', palette=Image.ADAPTIVE)
        return pil_image
def generate_recurrence_plot ( cls , recurrence_matrix ) : pil_image = Image . fromarray ( recurrence_matrix * 255 ) pil_image = ImageOps . invert ( pil_image ) pil_image = pil_image . convert ( mode = 'RGBA' , palette = Image . ADAPTIVE ) return pil_image
Generate recurrence plot from recurrence matrix
Generate recurrence plot from recurrence matrix
"""
        Generate recurrence plot from recurrence matrix

        :param recurrence_matrix: Recurrence matrix.
        :returns: Recurrence plot.
        :rtype: PIL image.
        """
None
PIL image.
cls
recurrence_matrix
None