-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to represent text inside a "box" in a specific position? #580
Comments
Hi @TeoColuccio! |
Hi @Lucas-C, |
Ok,
Now the problem is that the .set_x () doesn't seem to work. Whatever value I enter, when I call get_x (), it always returns 9.999999999999998. Maybe it's a bug !? Update: I think it is a bug, because set_xy() works fine and it was just what I was looking for. |
No, it's working perfectly just as designed and documented.
This behaviour may be somewhat surprising given the method name, but it has historical reasons and can't easily be changed without breaking a lot of existing code. |
Ok I understand. But in fact set_xy () works perfectly and so I can also close the issue. |
Great! |
The most suitable function seems to be .multi_cell(), but with this I can't set the coordinates on the y axis.
In fact I'm trying to set the "h" parameter, but this goes to set the height of the single cell (hence also the distance between them), and not where the text is to be printed.
The text was updated successfully, but these errors were encountered: