Hello,
Sorry does anyone know what is draw_gouraud_triangle for when you write a backend ?
I am trying to find examples for this but not finding any.
Also why is this not implemented for gtk, wx and qt ?
I would also appreciate to know whether the rotation of the text is relative to the bottom-left position or the center ?
Thanks
If I remember correctly, draw_gouraud_triangle is used by tripcolor when shading=āgouraudā. Basically, itās a gradient mesh in Adobe terms. Iām sure itās used in a few other places as well.
As
for why itās not implement in some backends, itās probably either an oversight, or gradient meshes arenāt natively supported by that particular toolkit (I would guess the latter).
Finally, as far as the text rotation goes, it depends on value of text.get_rotation_mode(). The default value is to apply the rotation first, and then deal with horizontal/vertical alignment. However, a value of āanchorā will correspond to rotation about the bottom-left position. See: http://matplotlib.org/examples/pylab_examples/demo_text_rotation_mode.html for an illustration.
Hope that helps a bit!
-Joe
Ā·Ā·Ā·
On Mon, Aug 10, 2015 at 11:15 AM, AndrĆ©s Vargas <andnovar@ā¦149ā¦> wrote:
Hello,
Sorry does anyone know what is draw_gouraud_triangle for when you write a backend ?
I am trying to find examples for this but not finding any.
Also why is this not implemented for gtk, wx and qt ?
I would also appreciate to know whether the rotation of the text is relative to the bottom-left position or the center ?
Thanks
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel