human
Write me a Python code for changing the size of text for graph labels and titles in Python.
assistant
Here is a Python code for changing the size of text for graph labels and titles

import re

def change_size(text, size):
    """Change the size of text for graph labels and titles."""
    return "\n".join([" " * size + c for c in text.split("\n")])

# Enter the text and size
text = "Hello"
size = 10

# Calling the function
print((change_size(text, size)))

#Example Output
#           Hello

#Remember to inspect code for bugs.