<jupyter_start><jupyter_text>LabelsUse ``xlab()``, ``ylab()`` and ``labs()`` functions to set plot labels.<jupyter_code>import pandas as pd

from lets_plot import *
LetsPlot.setup_html()
df = pd.read_csv('https://raw.githubusercontent.com/JetBrains/lets-plot-docs/master/data/mpg.csv')<jupyter_output><empty_output><jupyter_text>``xlab()`` and ``ylab()``
~~~~~~~~~~~~~~~~~~~~~~~~~<jupyter_code>ggplot(df, aes('cty', 'hwy')) + \
    geom_point() + \
    xlab('city miles per gallon') + ylab('highway miles per gallon')<jupyter_output><empty_output><jupyter_text>``labs()``
~~~~~~~~~~<jupyter_code>ggplot(df, aes('cty', 'hwy')) + \
    geom_point() + \
    labs(x='city miles per gallon', y='highway miles per gallon')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.23056300268096513, 'fraction_numerical': 0.0, 'mean_word_length': 7.119565217391305, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '604319', 'license': 'MIT', 'n_tokens_mistral': 296, 'n_tokens_neox': 288, 'n_words': 45, 'path': 'docs/_downloads/fa182b122aa758edec74056f2e5800ad/plot__labels.ipynb', 'repo_name': 'IKupriyanov-HORIS/lets-plot-docs', 'size': '746'}