HelpersMixin
- class pysmithchart.helpers.HelpersMixin[source]
Bases:
objectMixin class providing helper methods for SmithAxes.
Methods Summary
can_zoom()Check if zooming is enabled (always returns False).
drag_pan(button, key, x, y)Handle panning during a drag action (disabled for Smith chart).
end_pan()Handle the end of a pan action (disabled for Smith chart).
format_coord(x, y)Format real and imaginary parts of a complex number.
Return the fixed aspect ratio of the Smith chart data.
set_xlim(*args, **kwargs)Override the set_xlim method to enforce immutability.
set_xscale(*args, **kwargs)Set the x-axis scale (only 'linear' is supported).
set_ylim(*args, **kwargs)Override the set_ylim method to enforce immutability.
set_yscale(*args, **kwargs)Set the y-axis scale (only 'linear' is supported).
start_pan(x, y, button)Handle the start of a pan action (disabled for Smith chart).
Methods Documentation
- drag_pan(button, key, x, y)[source]
Handle panning during a drag action (disabled for Smith chart).
- set_xlim(*args, **kwargs)[source]
Override the set_xlim method to enforce immutability.
The x-axis limits for the Smith chart are fixed to (0, infinity) and cannot be modified. Any arguments passed to this method are ignored.
- set_xscale(*args, **kwargs)[source]
Set the x-axis scale (only ‘linear’ is supported).
- Parameters:
*args – Positional arguments for the scale (first argument must be ‘linear’).
**kwargs – Keyword arguments for additional scale settings.
- set_ylim(*args, **kwargs)[source]
Override the set_ylim method to enforce immutability.
The y-axis limits for the Smith chart are fixed to (-infinity, infinity) and cannot be modified. Any arguments passed to this method are ignored.