manim
manim copied to clipboard
get_axis_labels() producing labels of different sizes
Description of bug / unexpected behavior
The y_label is bold and of bigger size than x_label.
Expected behavior
The labels should be of the same size and typeset.
How to reproduce the issue
Code for reproducing the problem
class GetAxisLabelsExample(Scene):
def construct(self):
ax = Axes()
labels = ax.get_axis_labels(Tex("x-label"), Text("y-label"))
self.add(ax, labels)
Additional media files
Images/GIFs
System specifications
LaTeX details
- LaTeX distribution (e.g. TeX Live 2020):
- Installed LaTeX packages:
Additional comments
The example in the documentation uses .scale() to rescale the labels. But, the fact that y_label is bolded and the x_label is not, can still be noticed.
Additional Issue: My LaTeX failed to compile underscore sign. Hence, I used hyphen.