We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fig, axs = plt.subplots(1, 2, figsize=(6, 3)) ax1, ax2 = axs ax1.axis('off') ax2.axis('off') # Table1 use auto_set_column_width tb1 = ax1.table(cellText=[['Long Text', 2],['Long Long text', 1]], rowLabels=["A","B"], colLabels=["Col1","Col2"], loc="center") tb1.auto_set_font_size(False) tb1.set_fontsize(12) tb1.auto_set_column_width(["Col1","Col2"]) # NOT WORKING tb1.auto_set_column_width([-1,0,1]) # NOT WORKING # Table 2 use _autoColumns tb2 = ax2.table(cellText=[['Long Text', 2],['Long Long text', 1]], rowLabels=["A","B"], colLabels=["Col1","Col2"], loc="center") tb2.auto_set_font_size(False) tb2.set_fontsize(12) tb2._autoColumns = [-1,0,1]
Matplotlib 1.5.0
The text was updated successfully, but these errors were encountered:
@zairmubashar: As someone who recently improved the table code, I wonder if you have any thoughts.
Sorry, something went wrong.
@YujiShen This would be another place in the table code where any contributions would be welcome!
Sorry, that did not come out right, the entire code base is a place where contributions would be welcome.
What I meant is that this is a great place in the code base to start contributing!
@tacaswell Thanks! Great to hear that! I will learn how to contribute.
963e51d
Successfully merging a pull request may close this issue.
Matplotlib 1.5.0
The text was updated successfully, but these errors were encountered: