{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "ced35714-45e4-4640-b1eb-e4e9167cec1e", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from lets_plot import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 2, "id": "b7338665-24e3-4c95-8e7c-90896c3e7faa", "metadata": {}, "outputs": [], "source": [ "data = {\n", " 'category': ['A', 'B', 'C'],\n", " 'ymin': [10, 15, 20],\n", " 'ymax': [20, 27, 30],\n", " 'y': [12, None, 27], # значение, на котором рисуется перекладина\n", " 'label': ['AAAAaaaaaaaaaaaaaaaaaaaaaaA', 'BBBBBBBBBBBBBB', 'CCCCC\\nCCCCCCC\\nCCCC\\n\\nCCCC'],\n", "}" ] }, { "cell_type": "code", "execution_count": 3, "id": "5c0998d3-b295-47fb-87b1-e2a197e963ca", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "