python-ternary: labels not working
The 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()
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 1
- Comments: 24 (12 by maintainers)
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