The following code
import plotly.graph_objects as go
class FigureWidget(go.FigureWidget):
def __init__(self):
"""Documentation."""
pass
Produces the following documentation

Although I clearly defined that the __init__ method should have no arguments, it shows *args and **kwargs in the signature. Are there any caveats in subclassing third-party classes? Also any ideas how to unveil the "real" signature?
The following code
Produces the following documentation
Although I clearly defined that the
__init__method should have no arguments, it shows*argsand**kwargsin the signature. Are there any caveats in subclassing third-party classes? Also any ideas how to unveil the "real" signature?