[{'role': 'system', 'content': "You are an expert in machine learning and your task is to classify code snippets into one of the following categories: ['helper_functions', 'load_data', 'data_exploration', 'data_preprocessing', 'evaluation', 'modelling', 'prediction', 'result_visualization', 'save_results', 'comment_only']."}, {'role': 'user', 'content': 'Identify the single most appropriate category to which the provided code belongs. Provide your response as a single category label without any additional information, commentary, or personal opinions.\\nPython Code:def get_count_plot(x, df, ax, y=None, value_counts = None, print_percent = False):\n  if value_counts is None:\n    counts = df[x].value_counts().sort_index()\n  else:\n    counts = df[value_counts]\n  #counts.plot.bar()\n  #sns bars are just more colorful :P\n  if y is None:\n    sns.countplot(x, data=df, ax=ax)\n  else:\n    sns.barplot(x, y, data=df, ax=ax)\n  if print_percent:\n    print_percent_count_plot(counts, ax)'}, {'role': 'assistant', 'content': 'result_visualization'}]