Module pandas_profiling.report.presentation.flavours.qt.sample

Expand source code
from PyQt5.QtWidgets import QPushButton

from pandas_profiling.report.presentation.core import Sample


class QtSample(Sample):
    def render(self):
        return QPushButton(self.content["name"])

Classes

class QtSample (name, sample, **kwargs)

Helper class that provides a standard way to create an ABC using inheritance.

Expand source code
class QtSample(Sample):
    def render(self):
        return QPushButton(self.content["name"])

Ancestors

Methods

def render(self)
Expand source code
def render(self):
    return QPushButton(self.content["name"])