graphinglib.Figure.copy_with#

Figure.copy_with(**kwargs) Self[source]#

Returns a deep copy of the Figure with specified attributes overridden.

Parameters:
**kwargs

Public writable properties to override in the copied Figure. The keys should be property names to modify and the values are the new values for those properties.

Returns:
Figure

A new Figure instance with the specified attributes overridden.