Adding font Size as default parameter#29217
Conversation
Adding the font size as default parameter
|
Thank you for your contribution @saikarna913. Please look through the points in our Summary for Authors and try to address any that seem relevant. In particular you will need to add a test and a type hint. After adding the type hint, you will need to run boilerplate.py so that |
|
@rcomer i want to test this code, but I am unable to install the matplotlib completely it is giving me the import error Here’s what I’ve done so far:
Despite these steps, I’m still encountering the import error. Could you help me figure out why this might be happening? |
|
I just tried running the tests against a clean branch in codespaces. I saw a few failures (#29218) but no |
|
@rcomer I have tested the code by using this test code As a beginner, I’m not fully sure about type hints. Could you guide me on where exactly to add them in my code? I also attempted to include the following test code: This test code has been running for a long time. I don't know why. |
|
The type hint goes in |
|
@rcomer , please review this PR and approve it
|
|
Thank you, @saikarna913. |
|
@NGWi removed the flake issues |
|
@saikarna913 it looks like you have run an auto-formatter such as |
|
@rcomer done. please let me know if any changes required |
|
@saikarna913 please take a look at the automated tests below. Mypy has failed although it was passing before. Mypy checks the type hints so something has gone wrong there. |
|
Actually the Mypy failure is something to do with pylab, which you have not changed. So I don't actually know what is going on there 😕 |
|
@saikarna913 did you mean to close this? |
|
I believe this has been replaced by #29258. |
yes, can you review my changes |

Adding the font size as default parameter
PR summary
-This PR automatically adjusts the font size when creating the table, provided the fontsize argument is specified, without requiring an explicit call to the set_fontsize function.
-Automatically applying the font size ensures consistent styling during table creation, streamlining the process for users. It eliminates the need for additional method calls
PR checklist
fontsizein tables not working #29202