pyvista.ImageMandelbrotSource#
- class ImageMandelbrotSource(whole_extent=None, maxiter=None)[source]#
Create an image of the Mandelbrot set.
Added in version 0.44.0.
- Parameters:
Examples
Create an image of the Mandelbrot set.
>>> import pyvista as pv >>> source = pv.ImageMandelbrotSource( ... whole_extent=(0, 200, 0, 200, 0, 0), ... maxiter=100, ... ) >>> source.output.plot(cpos="xy")
Methods
Attributes
Get the maximum number of iterations.
Get the output image as a ImageData.
Get extent of the whole output image.