labels not working
See original GitHub issueThe following code does not produce labels for me. I get the plot, but without any labels.
scale, fontsize = 1, 12
import matplotlib.pyplot as pyplot
figure, ax = pyplot.subplots()
tax = ternary.TernaryAxesSubplot(ax=ax)
tax.set_title("Evolution of 6-6-3 signaler games under ambiguity", fontsize=fontsize)
tax.left_axis_label("Left label $\\alpha^2$", fontsize=fontsize)
tax.right_axis_label("Right label $\\beta^2$", fontsize=fontsize)
tax.bottom_axis_label("Bottom label $\\Gamma - \\Omega$", fontsize=fontsize)
tax.boundary(color="black", linewidth=2.0)
tax.gridlines(multiple=0.1, color="blue")
tax.plot( ((0.1,0.8,0.1),(0.8,0.1,0.1)) )
#tax.scatter( x, marker='s')
tax.legend()
tax.ticks(axis='lbr', color="black", linewidth=1, multiple=0.1)
tax.show()
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:24 (12 by maintainers)
Top Results From Across the Web
Troubleshooting Label Printing - Online Labels
If your labels keep getting stuck, we suggest changing your material setting. Open your printer dialog box and click on "Advanced Options." ...
Read more >How to Fix Misaligned Labels Templates?
Check your printer settings ; Decrease the font size or reduce the amount of text; Make sure you are using the correct labels....
Read more >label not working with checkbox - Stack Overflow
I believe the label element links to the id attribute, not the name attribute. Try this: <form> <input type="checkbox" name="showRatings" id="showRatings" ...
Read more >Error message when you try to create a label in Word
When you try to create a label in Microsoft Office Word 2007 or Microsoft Word 2010, you receive the following error message: There...
Read more >Value labels not working - Forums - IBM Support
I generated a frequency data set with 16 variables. I have entered value labels but I am not able to: 1. toggle to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
matpotlib-1.5 ipython-4.0.1 spyder-2.3.7
by adding _redraw_labels, i manage to get the labels for the 3 axis. not sure if this is intended
For now my recommendation is to use _redraw_labels(). Unfortunately we’re not also wrapping
fig
because the solution in that case would be to overridesavefig
to always redraw first. And that won’t work fortax
because it could be part of a larger plot or there could be multiple figures.