# IntegerMatrix Qualified name: `manim.mobject.matrix.IntegerMatrix` ### *class* IntegerMatrix(matrix, element_to_mobject=, \*\*kwargs) Bases: [`Matrix`](manim.mobject.matrix.Matrix.md#manim.mobject.matrix.Matrix) A mobject that displays a matrix with integer entries on the screen. ### Examples Will round if there are decimal entries in the matrix. * **Parameters:** * **matrix** (*Iterable*) – A numpy 2d array or list of lists * **element_to_mobject** (*type* *[*[*Mobject*](manim.mobject.mobject.Mobject.md#manim.mobject.mobject.Mobject) *]*) – Mobject to use, by default Integer * **kwargs** (*Any*) ### Methods ### Attributes | `animate` | Used to animate the application of any method of `self`. | |-----------------------|------------------------------------------------------------------------| | `animation_overrides` | | | `color` | | | `depth` | The depth of the mobject. | | `fill_color` | If there are multiple colors (for gradient) this returns the first one | | `height` | The height of the mobject. | | `n_points_per_curve` | | | `sheen_factor` | | | `stroke_color` | | | `width` | The width of the mobject. | #### \_original_\_init_\_(matrix, element_to_mobject=, \*\*kwargs) Will round if there are decimal entries in the matrix. * **Parameters:** * **matrix** (*Iterable*) – A numpy 2d array or list of lists * **element_to_mobject** (*type* *[*[*Mobject*](manim.mobject.mobject.Mobject.md#manim.mobject.mobject.Mobject) *]*) – Mobject to use, by default Integer * **kwargs** (*Any*)