Skip to content

How to change the color of the x (or y) axis label #1511

Answered by TonyCrane
masdaf99 asked this question in Q&A
Discussion options

You must be logged in to vote

Two ways:

  1. Change the default color of TextMobject
  2. Modify the code in manimlib/scene/graph_scene.py like:
        if self.x_axis_label:
            x_label = TextMobject(self.x_axis_label, color=BLACK)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TonyCrane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants