dream
/
Link_friendship_analysis.ipynb
4555 строк · 154.3 Кб
1{
2"cells": [
3{
4"cell_type": "code",
5"execution_count": 1,
6"id": "bacterial-jacob",
7"metadata": {},
8"outputs": [],
9"source": [
10"import json\n",
11"from scipy import stats\n",
12"import numpy as np\n",
13"import plotly.graph_objects as go"
14]
15},
16{
17"cell_type": "code",
18"execution_count": 2,
19"id": "viral-sullivan",
20"metadata": {},
21"outputs": [],
22"source": [
23"link_to_skill2i_like_to_talk = {\n",
24" \"dff_movie_skill\": [\n",
25" \"I felt so bored last days, so I've just finished to watch one more series. What TV series you watch?\",\n",
26" \"I feel so sleepy because I watched movies all night. What is the last movie you watched?\"\n",
27" ],\n",
28" \"book_skill\": [\n",
29" \"I'm choosing what book should I read next. What is the last book you have ever read?\",\n",
30" \"I have just read once again my favourite book. What is the last book you have ever read?\",\n",
31" ],\n",
32" \"game_cooperative_skill\": [\n",
33" \"Computer games are fantastic. Their virtual worlds help me to escape my prosaic ordinary life in the cloud. \"\n",
34" \"do you love video games?\",\n",
35" \"With this lockdown video games are my way to escape and thrive. do you love video games?\",\n",
36" ],\n",
37" \"dff_gaming_skill\": [\n",
38" \"Other bots told me that during the pandemic video games became more popular. \"\n",
39" \"What video game do you play these days?\",\n",
40" \"One person I talked told me that working in game dev is very hard. They toil at nights and weekends until \"\n",
41" \"their product becomes a masterpiece. What was the last game that impressed you?\",\n",
42" ],\n",
43" \"dff_travel_skill\": [\n",
44" \"I'm choosing the direction for my next digital trip. What country would you like to travel next time?\",\n",
45" \"I've recently stuck on travel web-site. And I’ve read so many interesting travel stories. \"\n",
46" \"What city did you travel last time?\",\n",
47" ],\n",
48" \"dff_animals_skill\": [\n",
49" \"I think that pets are a great source of entertainment. Do you have pets at home?\",\n",
50" \"We all know that pets are remarkable for their capacity to love. Do you have pets at home?\",\n",
51" ],\n",
52" \"dff_food_skill\": [\n",
53" \"It is said that the best food in the world comes from your own country. \"\n",
54" \"What are some typical foods from your home country?\",\n",
55" \"It is said that the best food in the world comes from your own country. \"\n",
56" \"If you were to move abroad what would you miss most foodwise?\",\n",
57" \"The world's first breakfast cereal was created in 1863 and needed soaking overnight to be chewable. \"\n",
58" \"What is your typical breakfast?\",\n",
59" ],\n",
60" \"dff_sport_skill\": [\n",
61" \"I think that sports are great for toning up the body. What kind of sport do you like to do?\",\n",
62" \"I think that in order for the body to always be healthy, we need to go in for sports. What sport do you do?\",\n",
63" \"I often thought about what kind of sport I would play, so I want to ask you. What kind of sport do you enjoy?\",\n",
64" ],\n",
65" \"dff_gossip_skill\": [\n",
66" \"What really puzzles me about people is this habit of discussing interpersonal relations, be that about \"\n",
67" \"friends or famous people. Speaking of famous people, is there someone whom you're interested in?\",\n",
68" \"I don't usually talk about other people but famous ones often highlight the best and the worst about \"\n",
69" \"humanity. I wonder if there's someone famous you're interested in?\",\n",
70" ],\n",
71" \"dff_science_skill\": [\n",
72" \"When I start to feel sad, I think about what humanity has achieved and it inspires me. \"\n",
73" \"Do you often think about achievements in science?\",\n",
74" \"Scientists find such beautiful solutions in science. \"\n",
75" \"Are you inspired by the speed with which science is developing?\",\n",
76" ],\n",
77" \"dff_music_skill\": [\n",
78" \"There are so many new songs released every day. I've listened music for all night. So cool! \"\n",
79" \"Liked everything! What music do you listen usually?\",\n",
80" \"I listen music every day either to calm down or to cheer up myself. \"\n",
81" \"What music do you listen to cheer up yourself?\",\n",
82" \"I listen music every day either to calm down or to cheer up myself. \"\n",
83" \"What music do you listen to calm down?\",\n",
84" ],\n",
85" \"superheroes\": [\n",
86" \"Yesterday I was watching several movies about superheroes. It captured all my imagination. \"\n",
87" \"Would you like to talk about superheroes?\",\n",
88" ],\n",
89" \"school\": [\n",
90" \"I've never been to school, I've learned everything online. Do you want to talk about school?\",\n",
91" ],\n",
92"}"
93]
94},
95{
96"cell_type": "markdown",
97"id": "african-appeal",
98"metadata": {},
99"source": [
100"## Чтение файлов "
101]
102},
103{
104"cell_type": "markdown",
105"id": "northern-iraqi",
106"metadata": {},
107"source": [
108"В FILE_NAMES - какие файлы прочитать, в VERSION_LIST - диалоги каких версий оставить"
109]
110},
111{
112"cell_type": "code",
113"execution_count": 3,
114"id": "canadian-yeast",
115"metadata": {},
116"outputs": [],
117"source": [
118"FILE_NAMES = [\"Downloads/alexaprize-export.json\",\n",
119" \"Downloads/alexaprize-export-2.json\",\n",
120" \"Downloads/alexaprize-export-3.json\",\n",
121" \"Downloads/alexaprize-export-4.json\",\n",
122" \"Downloads/alexaprize-export-5.json\",\n",
123" \"Downloads/alexaprize-export-6.json\"]\n",
124"\n",
125"\n",
126"VERSION_LIST = ['v16.2.0', 'v16.3.0', 'v16.4.0', 'v16.5.1']"
127]
128},
129{
130"cell_type": "code",
131"execution_count": 4,
132"id": "exotic-parker",
133"metadata": {},
134"outputs": [],
135"source": [
136"data = []\n",
137"\n",
138"for file_name in FILE_NAMES:\n",
139" raw_data = json.load(open(file_name, \"r\"))\n",
140" filtered_data = []\n",
141" for dialog in raw_data:\n",
142" if dialog['utterances'][0]['attributes'].get('version', \"\") in VERSION_LIST:\n",
143" filtered_data.append(dialog)\n",
144" data += filtered_data"
145]
146},
147{
148"cell_type": "code",
149"execution_count": 5,
150"id": "loaded-injection",
151"metadata": {},
152"outputs": [
153{
154"data": {
155"text/plain": [
156"2436"
157]
158},
159"execution_count": 5,
160"metadata": {},
161"output_type": "execute_result"
162}
163],
164"source": [
165"len(data)"
166]
167},
168{
169"cell_type": "markdown",
170"id": "forward-hacker",
171"metadata": {},
172"source": [
173"## Включение/невключение после линка "
174]
175},
176{
177"cell_type": "markdown",
178"id": "rational-automation",
179"metadata": {},
180"source": [
181"Функция, чтобы по диалогу и месту линка составить словарь по срабатыванию"
182]
183},
184{
185"cell_type": "code",
186"execution_count": 45,
187"id": "blessed-juvenile",
188"metadata": {},
189"outputs": [],
190"source": [
191"def build_dict(i, dialogue, skill_name):\n",
192" \n",
193" hypothesis = {}\n",
194" for hyp in dialogue['utterances'][i+1]['hypotheses']:\n",
195" if hyp['skill_name'] == skill_name:\n",
196" hypothesis = {'text': hyp['text'], 'confidence': hyp['confidence'], 'can_continue': hyp['can_continue']}\n",
197" dialogue_snippet = [dialogue['utterances'][i][\"text\"], dialogue['utterances'][i+1][\"text\"], \n",
198" dialogue['utterances'][i+2][\"text\"]]\n",
199" \n",
200" link_case_dict = {\"dialogue_snippet\": dialogue_snippet,\n",
201" \"chosen_skill\": dialogue['utterances'][i+2][\"active_skill\"],\n",
202" \"skill_hypothesis\": hypothesis,\n",
203" \"length\": len(dialogue['utterances']),\n",
204" \"rating\": dialogue['rating'],\n",
205" \"version\": dialogue['utterances'][0]['attributes'].get('version', \"\"),\n",
206" \"id\": dialogue[\"id\"]}\n",
207" \n",
208" return link_case_dict"
209]
210},
211{
212"cell_type": "markdown",
213"id": "developed-penguin",
214"metadata": {},
215"source": [
216"support_topic_count_all - считает включения/невключения после линка \\\n",
217"support_topic_samples_all - сохраняет все случаи включения/невключения, ключ \"skill_continue\" указывает на то, было ли у линка продолжение \\\n",
218"support_topic_count и support_topic_samples - то же самое, но с разбиением на версии \\\n",
219"NOT_ONLY_INITIAL_LINKS - 1, если учитывать все линки и 0, если только в начале \\\n",
220"LINKS_END - если NOT_ONLY_INITIAL_LINKS = 0, то этот параметр учитывает, до какой по счету фразы в диалоге учитывать линки"
221]
222},
223{
224"cell_type": "code",
225"execution_count": 73,
226"id": "nervous-latest",
227"metadata": {},
228"outputs": [],
229"source": [
230"support_topic_count = {v: {skill: {\"yes\": 0, \"no\": 0} for skill in link_to_skill2i_like_to_talk.keys()} for v in VERSION_LIST}\n",
231"support_topic_samples = {v: {skill: [] for skill in link_to_skill2i_like_to_talk.keys()} for v in VERSION_LIST}\n",
232"\n",
233"support_topic_count_all = {skill: {\"yes\": 0, \"no\": 0} for skill in link_to_skill2i_like_to_talk.keys()}\n",
234"support_topic_samples_all = {skill: [] for skill in link_to_skill2i_like_to_talk.keys()}\n",
235"\n",
236"NOT_ONLY_INITIAL_LINKS = 1\n",
237"LINKS_END = 10\n",
238"\n",
239"for dialogue in data:\n",
240" for i, utt in enumerate(dialogue['utterances']):\n",
241" current_state = \"user\" if i % 2 == 0 else \"bot\"\n",
242" for skill_name, links in link_to_skill2i_like_to_talk.items():\n",
243" for link in links:\n",
244" try:\n",
245" if link.lower() in utt[\"text\"].lower() and i < len(dialogue['utterances']) - 1 \\\n",
246" and current_state == \"bot\" and (NOT_ONLY_INITIAL_LINKS or i < 10):\n",
247" \n",
248" following_active_skill = dialogue['utterances'][i+2][\"active_skill\"]\n",
249" \n",
250" if following_active_skill != skill_name and following_active_skill != 'alexa_handler':\n",
251" link_case_dict = build_dict(i, dialogue, skill_name)\n",
252" link_case_dict[\"skill_continue\"] = 0\n",
253" support_topic_count_all[skill_name][\"no\"] += 1 \n",
254" support_topic_samples_all[skill_name].append(link_case_dict)\n",
255" if len(link_case_dict[\"version\"]) > 0:\n",
256" support_topic_samples[link_case_dict[\"version\"]][skill_name].append(link_case_dict)\n",
257" support_topic_count[link_case_dict[\"version\"]][skill_name][\"no\"] += 1 \n",
258" \n",
259" elif following_active_skill != 'alexa_handler':\n",
260" link_case_dict = build_dict(i, dialogue, skill_name)\n",
261" link_case_dict[\"skill_continue\"] = 1\n",
262" support_topic_count_all[skill_name][\"yes\"] += 1 \n",
263" support_topic_samples_all[skill_name].append(link_case_dict)\n",
264" if len(link_case_dict[\"version\"]) > 0:\n",
265" support_topic_samples[link_case_dict[\"version\"]][skill_name].append(link_case_dict) \n",
266" support_topic_count[link_case_dict[\"version\"]][skill_name][\"yes\"] += 1 \n",
267"\n",
268" except:\n",
269" print(\"exception\")"
270]
271},
272{
273"cell_type": "markdown",
274"id": "fixed-earth",
275"metadata": {},
276"source": [
277"## Подсчет корреляций "
278]
279},
280{
281"cell_type": "markdown",
282"id": "dramatic-zambia",
283"metadata": {},
284"source": [
285"VERSIONS_FOR_GRAPHICS - для каких версий строить графики \\\n",
286"В словарь graphics_dict сохраняется информация о диалогах с линком: длина, включение/невключение и отдельно рейтинг, длину, включение/невключение для диалогов с рейтингом. Затем между нужными параметрами считается корреляция и сохраняется в этот же словарь. \\\n",
287"Делается это отдельно по версиям и отдельно по скиллам."
288]
289},
290{
291"cell_type": "code",
292"execution_count": 54,
293"id": "pharmaceutical-presentation",
294"metadata": {},
295"outputs": [],
296"source": [
297"graphics_dict = {}\n",
298"VERSIONS_FOR_GRAPHICS = [\"v16.2.0\", \"v16.3.0\", \"v16.4.0\", \"v16.5.1\"]\n",
299"\n",
300"for version in VERSIONS_FOR_GRAPHICS:\n",
301" \n",
302" graphics_dict[version] = {}\n",
303" \n",
304" length_vector = {}\n",
305" continue_vector = {}\n",
306" rating_length_vector = {}\n",
307" rating_vector = {}\n",
308" version_topic = {}\n",
309" \n",
310" # составление словаря с длинами, включениями, оценкой\n",
311" for skill_name, skill_dicts in support_topic_samples[version].items():\n",
312" \n",
313" graphics_dict[version][skill_name] = {\"length\": [], \n",
314" \"skill_continue\": [],\n",
315" \"length_with_rating\": [],\n",
316" \"rating\": [],\n",
317" \"skill_continue_rating\": [],\n",
318" \"active_length_correlation\": 0,\n",
319" \"active_rating_correlation\": 0}\n",
320"\n",
321" for skill_dict in skill_dicts:\n",
322" graphics_dict[version][skill_name][\"length\"].append(skill_dict[\"length\"])\n",
323" graphics_dict[version][skill_name][\"skill_continue\"].append(skill_dict[\"skill_continue\"])\n",
324" if skill_dict[\"rating\"]:\n",
325" graphics_dict[version][skill_name][\"length_with_rating\"].append(skill_dict[\"length\"])\n",
326" graphics_dict[version][skill_name][\"skill_continue_rating\"].append(skill_dict[\"skill_continue\"])\n",
327" graphics_dict[version][skill_name][\"rating\"].append(skill_dict[\"rating\"])\n",
328" \n",
329" if len(graphics_dict[version][skill_name][\"length\"]) > 1:\n",
330" graphics_dict[version][skill_name][\"active_length_correlation\"] = stats.pearsonr(\n",
331" graphics_dict[version][skill_name][\"length\"], \n",
332" graphics_dict[version][skill_name][\"skill_continue\"])[0]\n",
333" \n",
334" if len(graphics_dict[version][skill_name][\"skill_continue_rating\"]) > 1:\n",
335" graphics_dict[version][skill_name][\"active_rating_correlation\"] = stats.pearsonr(\n",
336" graphics_dict[version][skill_name][\"skill_continue_rating\"], \n",
337" graphics_dict[version][skill_name][\"rating\"])[0] "
338]
339},
340{
341"cell_type": "markdown",
342"id": "remarkable-budget",
343"metadata": {},
344"source": [
345"## Построение графиков "
346]
347},
348{
349"cell_type": "code",
350"execution_count": 56,
351"id": "comprehensive-adams",
352"metadata": {},
353"outputs": [
354{
355"data": {
356"application/vnd.plotly.v1+json": {
357"config": {
358"plotlyServerURL": "https://plot.ly"
359},
360"data": [
361{
362"name": "v16.2.0",
363"opacity": 0.75,
364"type": "bar",
365"x": [
366"dff_movie_skill",
367"book_skill",
368"game_cooperative_skill",
369"dff_gaming_skill",
370"dff_travel_skill",
371"dff_animals_skill",
372"dff_food_skill",
373"dff_sport_skill",
374"dff_gossip_skill",
375"dff_science_skill",
376"dff_music_skill",
377"superheroes",
378"school"
379],
380"y": [
3810.3400765308853567,
3820.31794587897421606,
3830.0698473525558603,
3840,
385-0.0984776321456845,
386-0.20913414575020858,
387-0.23611253444038213,
3880.17935379984766625,
3890.1413637230432501,
390null,
3910.18841532549017181,
3920,
3930
394]
395},
396{
397"name": "v16.3.0",
398"opacity": 0.75,
399"type": "bar",
400"x": [
401"dff_movie_skill",
402"book_skill",
403"game_cooperative_skill",
404"dff_gaming_skill",
405"dff_travel_skill",
406"dff_animals_skill",
407"dff_food_skill",
408"dff_sport_skill",
409"dff_gossip_skill",
410"dff_science_skill",
411"dff_music_skill",
412"superheroes",
413"school"
414],
415"y": [
416null,
4170,
418null,
4190,
4200,
421-0.9819805060619657,
4220.36565398290784656,
4230,
4240,
4250,
426-0.48803587894077477,
4270,
4280
429]
430},
431{
432"name": "v16.4.0",
433"opacity": 0.75,
434"type": "bar",
435"x": [
436"dff_movie_skill",
437"book_skill",
438"game_cooperative_skill",
439"dff_gaming_skill",
440"dff_travel_skill",
441"dff_animals_skill",
442"dff_food_skill",
443"dff_sport_skill",
444"dff_gossip_skill",
445"dff_science_skill",
446"dff_music_skill",
447"superheroes",
448"school"
449],
450"y": [
4510,
4520,
453-0.6100425384628333,
4540,
455null,
456-0.8591214174789205,
4570.6172133998483678,
458null,
4590,
460null,
4610.07198157507486946,
4620,
4630
464]
465},
466{
467"name": "v16.5.1",
468"opacity": 0.75,
469"type": "bar",
470"x": [
471"dff_movie_skill",
472"book_skill",
473"game_cooperative_skill",
474"dff_gaming_skill",
475"dff_travel_skill",
476"dff_animals_skill",
477"dff_food_skill",
478"dff_sport_skill",
479"dff_gossip_skill",
480"dff_science_skill",
481"dff_music_skill",
482"superheroes",
483"school"
484],
485"y": [
4860,
4870.39060854688984353,
4880.10674831155667998,
4890,
4900,
491-0.1366965815037675,
492-1,
4930.27955307234080506,
494null,
495null,
4960,
4970,
4980
499]
500}
501],
502"layout": {
503"bargap": 0.2,
504"bargroupgap": 0.1,
505"template": {
506"data": {
507"bar": [
508{
509"error_x": {
510"color": "#2a3f5f"
511},
512"error_y": {
513"color": "#2a3f5f"
514},
515"marker": {
516"line": {
517"color": "#E5ECF6",
518"width": 0.5
519}
520},
521"type": "bar"
522}
523],
524"barpolar": [
525{
526"marker": {
527"line": {
528"color": "#E5ECF6",
529"width": 0.5
530}
531},
532"type": "barpolar"
533}
534],
535"carpet": [
536{
537"aaxis": {
538"endlinecolor": "#2a3f5f",
539"gridcolor": "white",
540"linecolor": "white",
541"minorgridcolor": "white",
542"startlinecolor": "#2a3f5f"
543},
544"baxis": {
545"endlinecolor": "#2a3f5f",
546"gridcolor": "white",
547"linecolor": "white",
548"minorgridcolor": "white",
549"startlinecolor": "#2a3f5f"
550},
551"type": "carpet"
552}
553],
554"choropleth": [
555{
556"colorbar": {
557"outlinewidth": 0,
558"ticks": ""
559},
560"type": "choropleth"
561}
562],
563"contour": [
564{
565"colorbar": {
566"outlinewidth": 0,
567"ticks": ""
568},
569"colorscale": [
570[
5710,
572"#0d0887"
573],
574[
5750.1111111111111111,
576"#46039f"
577],
578[
5790.2222222222222222,
580"#7201a8"
581],
582[
5830.3333333333333333,
584"#9c179e"
585],
586[
5870.4444444444444444,
588"#bd3786"
589],
590[
5910.5555555555555556,
592"#d8576b"
593],
594[
5950.6666666666666666,
596"#ed7953"
597],
598[
5990.7777777777777778,
600"#fb9f3a"
601],
602[
6030.8888888888888888,
604"#fdca26"
605],
606[
6071,
608"#f0f921"
609]
610],
611"type": "contour"
612}
613],
614"contourcarpet": [
615{
616"colorbar": {
617"outlinewidth": 0,
618"ticks": ""
619},
620"type": "contourcarpet"
621}
622],
623"heatmap": [
624{
625"colorbar": {
626"outlinewidth": 0,
627"ticks": ""
628},
629"colorscale": [
630[
6310,
632"#0d0887"
633],
634[
6350.1111111111111111,
636"#46039f"
637],
638[
6390.2222222222222222,
640"#7201a8"
641],
642[
6430.3333333333333333,
644"#9c179e"
645],
646[
6470.4444444444444444,
648"#bd3786"
649],
650[
6510.5555555555555556,
652"#d8576b"
653],
654[
6550.6666666666666666,
656"#ed7953"
657],
658[
6590.7777777777777778,
660"#fb9f3a"
661],
662[
6630.8888888888888888,
664"#fdca26"
665],
666[
6671,
668"#f0f921"
669]
670],
671"type": "heatmap"
672}
673],
674"heatmapgl": [
675{
676"colorbar": {
677"outlinewidth": 0,
678"ticks": ""
679},
680"colorscale": [
681[
6820,
683"#0d0887"
684],
685[
6860.1111111111111111,
687"#46039f"
688],
689[
6900.2222222222222222,
691"#7201a8"
692],
693[
6940.3333333333333333,
695"#9c179e"
696],
697[
6980.4444444444444444,
699"#bd3786"
700],
701[
7020.5555555555555556,
703"#d8576b"
704],
705[
7060.6666666666666666,
707"#ed7953"
708],
709[
7100.7777777777777778,
711"#fb9f3a"
712],
713[
7140.8888888888888888,
715"#fdca26"
716],
717[
7181,
719"#f0f921"
720]
721],
722"type": "heatmapgl"
723}
724],
725"histogram": [
726{
727"marker": {
728"colorbar": {
729"outlinewidth": 0,
730"ticks": ""
731}
732},
733"type": "histogram"
734}
735],
736"histogram2d": [
737{
738"colorbar": {
739"outlinewidth": 0,
740"ticks": ""
741},
742"colorscale": [
743[
7440,
745"#0d0887"
746],
747[
7480.1111111111111111,
749"#46039f"
750],
751[
7520.2222222222222222,
753"#7201a8"
754],
755[
7560.3333333333333333,
757"#9c179e"
758],
759[
7600.4444444444444444,
761"#bd3786"
762],
763[
7640.5555555555555556,
765"#d8576b"
766],
767[
7680.6666666666666666,
769"#ed7953"
770],
771[
7720.7777777777777778,
773"#fb9f3a"
774],
775[
7760.8888888888888888,
777"#fdca26"
778],
779[
7801,
781"#f0f921"
782]
783],
784"type": "histogram2d"
785}
786],
787"histogram2dcontour": [
788{
789"colorbar": {
790"outlinewidth": 0,
791"ticks": ""
792},
793"colorscale": [
794[
7950,
796"#0d0887"
797],
798[
7990.1111111111111111,
800"#46039f"
801],
802[
8030.2222222222222222,
804"#7201a8"
805],
806[
8070.3333333333333333,
808"#9c179e"
809],
810[
8110.4444444444444444,
812"#bd3786"
813],
814[
8150.5555555555555556,
816"#d8576b"
817],
818[
8190.6666666666666666,
820"#ed7953"
821],
822[
8230.7777777777777778,
824"#fb9f3a"
825],
826[
8270.8888888888888888,
828"#fdca26"
829],
830[
8311,
832"#f0f921"
833]
834],
835"type": "histogram2dcontour"
836}
837],
838"mesh3d": [
839{
840"colorbar": {
841"outlinewidth": 0,
842"ticks": ""
843},
844"type": "mesh3d"
845}
846],
847"parcoords": [
848{
849"line": {
850"colorbar": {
851"outlinewidth": 0,
852"ticks": ""
853}
854},
855"type": "parcoords"
856}
857],
858"pie": [
859{
860"automargin": true,
861"type": "pie"
862}
863],
864"scatter": [
865{
866"marker": {
867"colorbar": {
868"outlinewidth": 0,
869"ticks": ""
870}
871},
872"type": "scatter"
873}
874],
875"scatter3d": [
876{
877"line": {
878"colorbar": {
879"outlinewidth": 0,
880"ticks": ""
881}
882},
883"marker": {
884"colorbar": {
885"outlinewidth": 0,
886"ticks": ""
887}
888},
889"type": "scatter3d"
890}
891],
892"scattercarpet": [
893{
894"marker": {
895"colorbar": {
896"outlinewidth": 0,
897"ticks": ""
898}
899},
900"type": "scattercarpet"
901}
902],
903"scattergeo": [
904{
905"marker": {
906"colorbar": {
907"outlinewidth": 0,
908"ticks": ""
909}
910},
911"type": "scattergeo"
912}
913],
914"scattergl": [
915{
916"marker": {
917"colorbar": {
918"outlinewidth": 0,
919"ticks": ""
920}
921},
922"type": "scattergl"
923}
924],
925"scattermapbox": [
926{
927"marker": {
928"colorbar": {
929"outlinewidth": 0,
930"ticks": ""
931}
932},
933"type": "scattermapbox"
934}
935],
936"scatterpolar": [
937{
938"marker": {
939"colorbar": {
940"outlinewidth": 0,
941"ticks": ""
942}
943},
944"type": "scatterpolar"
945}
946],
947"scatterpolargl": [
948{
949"marker": {
950"colorbar": {
951"outlinewidth": 0,
952"ticks": ""
953}
954},
955"type": "scatterpolargl"
956}
957],
958"scatterternary": [
959{
960"marker": {
961"colorbar": {
962"outlinewidth": 0,
963"ticks": ""
964}
965},
966"type": "scatterternary"
967}
968],
969"surface": [
970{
971"colorbar": {
972"outlinewidth": 0,
973"ticks": ""
974},
975"colorscale": [
976[
9770,
978"#0d0887"
979],
980[
9810.1111111111111111,
982"#46039f"
983],
984[
9850.2222222222222222,
986"#7201a8"
987],
988[
9890.3333333333333333,
990"#9c179e"
991],
992[
9930.4444444444444444,
994"#bd3786"
995],
996[
9970.5555555555555556,
998"#d8576b"
999],
1000[
10010.6666666666666666,
1002"#ed7953"
1003],
1004[
10050.7777777777777778,
1006"#fb9f3a"
1007],
1008[
10090.8888888888888888,
1010"#fdca26"
1011],
1012[
10131,
1014"#f0f921"
1015]
1016],
1017"type": "surface"
1018}
1019],
1020"table": [
1021{
1022"cells": {
1023"fill": {
1024"color": "#EBF0F8"
1025},
1026"line": {
1027"color": "white"
1028}
1029},
1030"header": {
1031"fill": {
1032"color": "#C8D4E3"
1033},
1034"line": {
1035"color": "white"
1036}
1037},
1038"type": "table"
1039}
1040]
1041},
1042"layout": {
1043"annotationdefaults": {
1044"arrowcolor": "#2a3f5f",
1045"arrowhead": 0,
1046"arrowwidth": 1
1047},
1048"autotypenumbers": "strict",
1049"coloraxis": {
1050"colorbar": {
1051"outlinewidth": 0,
1052"ticks": ""
1053}
1054},
1055"colorscale": {
1056"diverging": [
1057[
10580,
1059"#8e0152"
1060],
1061[
10620.1,
1063"#c51b7d"
1064],
1065[
10660.2,
1067"#de77ae"
1068],
1069[
10700.3,
1071"#f1b6da"
1072],
1073[
10740.4,
1075"#fde0ef"
1076],
1077[
10780.5,
1079"#f7f7f7"
1080],
1081[
10820.6,
1083"#e6f5d0"
1084],
1085[
10860.7,
1087"#b8e186"
1088],
1089[
10900.8,
1091"#7fbc41"
1092],
1093[
10940.9,
1095"#4d9221"
1096],
1097[
10981,
1099"#276419"
1100]
1101],
1102"sequential": [
1103[
11040,
1105"#0d0887"
1106],
1107[
11080.1111111111111111,
1109"#46039f"
1110],
1111[
11120.2222222222222222,
1113"#7201a8"
1114],
1115[
11160.3333333333333333,
1117"#9c179e"
1118],
1119[
11200.4444444444444444,
1121"#bd3786"
1122],
1123[
11240.5555555555555556,
1125"#d8576b"
1126],
1127[
11280.6666666666666666,
1129"#ed7953"
1130],
1131[
11320.7777777777777778,
1133"#fb9f3a"
1134],
1135[
11360.8888888888888888,
1137"#fdca26"
1138],
1139[
11401,
1141"#f0f921"
1142]
1143],
1144"sequentialminus": [
1145[
11460,
1147"#0d0887"
1148],
1149[
11500.1111111111111111,
1151"#46039f"
1152],
1153[
11540.2222222222222222,
1155"#7201a8"
1156],
1157[
11580.3333333333333333,
1159"#9c179e"
1160],
1161[
11620.4444444444444444,
1163"#bd3786"
1164],
1165[
11660.5555555555555556,
1167"#d8576b"
1168],
1169[
11700.6666666666666666,
1171"#ed7953"
1172],
1173[
11740.7777777777777778,
1175"#fb9f3a"
1176],
1177[
11780.8888888888888888,
1179"#fdca26"
1180],
1181[
11821,
1183"#f0f921"
1184]
1185]
1186},
1187"colorway": [
1188"#636efa",
1189"#EF553B",
1190"#00cc96",
1191"#ab63fa",
1192"#FFA15A",
1193"#19d3f3",
1194"#FF6692",
1195"#B6E880",
1196"#FF97FF",
1197"#FECB52"
1198],
1199"font": {
1200"color": "#2a3f5f"
1201},
1202"geo": {
1203"bgcolor": "white",
1204"lakecolor": "white",
1205"landcolor": "#E5ECF6",
1206"showlakes": true,
1207"showland": true,
1208"subunitcolor": "white"
1209},
1210"hoverlabel": {
1211"align": "left"
1212},
1213"hovermode": "closest",
1214"mapbox": {
1215"style": "light"
1216},
1217"paper_bgcolor": "white",
1218"plot_bgcolor": "#E5ECF6",
1219"polar": {
1220"angularaxis": {
1221"gridcolor": "white",
1222"linecolor": "white",
1223"ticks": ""
1224},
1225"bgcolor": "#E5ECF6",
1226"radialaxis": {
1227"gridcolor": "white",
1228"linecolor": "white",
1229"ticks": ""
1230}
1231},
1232"scene": {
1233"xaxis": {
1234"backgroundcolor": "#E5ECF6",
1235"gridcolor": "white",
1236"gridwidth": 2,
1237"linecolor": "white",
1238"showbackground": true,
1239"ticks": "",
1240"zerolinecolor": "white"
1241},
1242"yaxis": {
1243"backgroundcolor": "#E5ECF6",
1244"gridcolor": "white",
1245"gridwidth": 2,
1246"linecolor": "white",
1247"showbackground": true,
1248"ticks": "",
1249"zerolinecolor": "white"
1250},
1251"zaxis": {
1252"backgroundcolor": "#E5ECF6",
1253"gridcolor": "white",
1254"gridwidth": 2,
1255"linecolor": "white",
1256"showbackground": true,
1257"ticks": "",
1258"zerolinecolor": "white"
1259}
1260},
1261"shapedefaults": {
1262"line": {
1263"color": "#2a3f5f"
1264}
1265},
1266"ternary": {
1267"aaxis": {
1268"gridcolor": "white",
1269"linecolor": "white",
1270"ticks": ""
1271},
1272"baxis": {
1273"gridcolor": "white",
1274"linecolor": "white",
1275"ticks": ""
1276},
1277"bgcolor": "#E5ECF6",
1278"caxis": {
1279"gridcolor": "white",
1280"linecolor": "white",
1281"ticks": ""
1282}
1283},
1284"title": {
1285"x": 0.05
1286},
1287"xaxis": {
1288"automargin": true,
1289"gridcolor": "white",
1290"linecolor": "white",
1291"ticks": "",
1292"title": {
1293"standoff": 15
1294},
1295"zerolinecolor": "white",
1296"zerolinewidth": 2
1297},
1298"yaxis": {
1299"automargin": true,
1300"gridcolor": "white",
1301"linecolor": "white",
1302"ticks": "",
1303"title": {
1304"standoff": 15
1305},
1306"zerolinecolor": "white",
1307"zerolinewidth": 2
1308}
1309}
1310},
1311"title": {
1312"text": "Корреляция между продолжением скилла и длиной диалога"
1313},
1314"xaxis": {
1315"title": {
1316"text": "Skill"
1317}
1318},
1319"yaxis": {
1320"title": {
1321"text": "Correlation"
1322}
1323}
1324}
1325},
1326"text/html": [
1327"<div> <div id=\"25b7396c-b0d7-42c2-8931-ac3f46eac178\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"25b7396c-b0d7-42c2-8931-ac3f46eac178\")) { Plotly.newPlot( \"25b7396c-b0d7-42c2-8931-ac3f46eac178\", [{\"name\": \"v16.2.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0.3400765308853567, 0.31794587897421606, 0.0698473525558603, 0, -0.0984776321456845, -0.20913414575020858, -0.23611253444038213, 0.17935379984766625, 0.1413637230432501, null, 0.18841532549017181, 0, 0]}, {\"name\": \"v16.3.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [null, 0, null, 0, 0, -0.9819805060619657, 0.36565398290784656, 0, 0, 0, -0.48803587894077477, 0, 0]}, {\"name\": \"v16.4.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0, 0, -0.6100425384628333, 0, null, -0.8591214174789205, 0.6172133998483678, null, 0, null, 0.07198157507486946, 0, 0]}, {\"name\": \"v16.5.1\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0, 0.39060854688984353, 0.10674831155667998, 0, 0, -0.1366965815037675, -1.0, 0.27955307234080506, null, null, 0, 0, 0]}], {\"bargap\": 0.2, \"bargroupgap\": 0.1, \"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"autotypenumbers\": \"strict\", \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"title\": {\"text\": \"\\u041a\\u043e\\u0440\\u0440\\u0435\\u043b\\u044f\\u0446\\u0438\\u044f \\u043c\\u0435\\u0436\\u0434\\u0443 \\u043f\\u0440\\u043e\\u0434\\u043e\\u043b\\u0436\\u0435\\u043d\\u0438\\u0435\\u043c \\u0441\\u043a\\u0438\\u043b\\u043b\\u0430 \\u0438 \\u0434\\u043b\\u0438\\u043d\\u043e\\u0439 \\u0434\\u0438\\u0430\\u043b\\u043e\\u0433\\u0430\"}, \"xaxis\": {\"title\": {\"text\": \"Skill\"}}, \"yaxis\": {\"title\": {\"text\": \"Correlation\"}}}, {\"responsive\": true} ).then(function(){\n",
1328" \n",
1329"var gd = document.getElementById('25b7396c-b0d7-42c2-8931-ac3f46eac178');\n",
1330"var x = new MutationObserver(function (mutations, observer) {{\n",
1331" var display = window.getComputedStyle(gd).display;\n",
1332" if (!display || display === 'none') {{\n",
1333" console.log([gd, 'removed!']);\n",
1334" Plotly.purge(gd);\n",
1335" observer.disconnect();\n",
1336" }}\n",
1337"}});\n",
1338"\n",
1339"// Listen for the removal of the full notebook cells\n",
1340"var notebookContainer = gd.closest('#notebook-container');\n",
1341"if (notebookContainer) {{\n",
1342" x.observe(notebookContainer, {childList: true});\n",
1343"}}\n",
1344"\n",
1345"// Listen for the clearing of the current output cell\n",
1346"var outputEl = gd.closest('.output');\n",
1347"if (outputEl) {{\n",
1348" x.observe(outputEl, {childList: true});\n",
1349"}}\n",
1350"\n",
1351" }) }; }); </script> </div>"
1352]
1353},
1354"metadata": {},
1355"output_type": "display_data"
1356}
1357],
1358"source": [
1359"fig = go.Figure()\n",
1360"\n",
1361"for version in graphics_dict.keys():\n",
1362" \n",
1363" x0, y0 = [], []\n",
1364" \n",
1365" for skill in graphics_dict[version].keys():\n",
1366" x0.append(skill)\n",
1367" y0.append(graphics_dict[version][skill][\"active_length_correlation\"])\n",
1368" \n",
1369" fig.add_trace(go.Bar(\n",
1370" x=x0,\n",
1371" y=y0,\n",
1372" name=version, \n",
1373" opacity=0.75\n",
1374" ))\n",
1375"\n",
1376"fig.update_layout(\n",
1377" title_text='Корреляция между продолжением скилла и длиной диалога', \n",
1378" xaxis_title_text='Skill', \n",
1379" yaxis_title_text='Correlation', \n",
1380" bargap=0.2, \n",
1381" bargroupgap=0.1 \n",
1382")\n",
1383"\n",
1384"fig.show()"
1385]
1386},
1387{
1388"cell_type": "code",
1389"execution_count": 57,
1390"id": "portuguese-burke",
1391"metadata": {},
1392"outputs": [
1393{
1394"data": {
1395"application/vnd.plotly.v1+json": {
1396"config": {
1397"plotlyServerURL": "https://plot.ly"
1398},
1399"data": [
1400{
1401"name": "v16.2.0",
1402"opacity": 0.75,
1403"type": "bar",
1404"x": [
1405"dff_movie_skill",
1406"book_skill",
1407"game_cooperative_skill",
1408"dff_gaming_skill",
1409"dff_travel_skill",
1410"dff_animals_skill",
1411"dff_food_skill",
1412"dff_sport_skill",
1413"dff_gossip_skill",
1414"dff_science_skill",
1415"dff_music_skill",
1416"superheroes",
1417"school"
1418],
1419"y": [
1420-0.16344062225232156,
1421-0.8703882797784893,
14220.17466675292187456,
14230,
14240,
1425-0.008244084888049553,
1426-0.11111111111111113,
14270.10232343558582008,
1428-0.4894935754389833,
1429null,
14300.10447244794313079,
14310,
14320
1433]
1434},
1435{
1436"name": "v16.3.0",
1437"opacity": 0.75,
1438"type": "bar",
1439"x": [
1440"dff_movie_skill",
1441"book_skill",
1442"game_cooperative_skill",
1443"dff_gaming_skill",
1444"dff_travel_skill",
1445"dff_animals_skill",
1446"dff_food_skill",
1447"dff_sport_skill",
1448"dff_gossip_skill",
1449"dff_science_skill",
1450"dff_music_skill",
1451"superheroes",
1452"school"
1453],
1454"y": [
1455null,
14560,
14570,
14580,
14590,
14600,
1461null,
14620,
14630,
14640,
14650.5222329678670935,
14660,
14670
1468]
1469},
1470{
1471"name": "v16.4.0",
1472"opacity": 0.75,
1473"type": "bar",
1474"x": [
1475"dff_movie_skill",
1476"book_skill",
1477"game_cooperative_skill",
1478"dff_gaming_skill",
1479"dff_travel_skill",
1480"dff_animals_skill",
1481"dff_food_skill",
1482"dff_sport_skill",
1483"dff_gossip_skill",
1484"dff_science_skill",
1485"dff_music_skill",
1486"superheroes",
1487"school"
1488],
1489"y": [
14900,
14910,
14921,
14930,
14940,
14950.8660254037844386,
14960,
14970,
14980,
14990,
15000,
15010,
15020
1503]
1504},
1505{
1506"name": "v16.5.1",
1507"opacity": 0.75,
1508"type": "bar",
1509"x": [
1510"dff_movie_skill",
1511"book_skill",
1512"game_cooperative_skill",
1513"dff_gaming_skill",
1514"dff_travel_skill",
1515"dff_animals_skill",
1516"dff_food_skill",
1517"dff_sport_skill",
1518"dff_gossip_skill",
1519"dff_science_skill",
1520"dff_music_skill",
1521"superheroes",
1522"school"
1523],
1524"y": [
15250,
15260,
1527null,
15280,
15290,
15300,
15310,
15320,
15330,
15340,
15350,
15360,
15370
1538]
1539}
1540],
1541"layout": {
1542"bargap": 0.2,
1543"bargroupgap": 0.1,
1544"template": {
1545"data": {
1546"bar": [
1547{
1548"error_x": {
1549"color": "#2a3f5f"
1550},
1551"error_y": {
1552"color": "#2a3f5f"
1553},
1554"marker": {
1555"line": {
1556"color": "#E5ECF6",
1557"width": 0.5
1558}
1559},
1560"type": "bar"
1561}
1562],
1563"barpolar": [
1564{
1565"marker": {
1566"line": {
1567"color": "#E5ECF6",
1568"width": 0.5
1569}
1570},
1571"type": "barpolar"
1572}
1573],
1574"carpet": [
1575{
1576"aaxis": {
1577"endlinecolor": "#2a3f5f",
1578"gridcolor": "white",
1579"linecolor": "white",
1580"minorgridcolor": "white",
1581"startlinecolor": "#2a3f5f"
1582},
1583"baxis": {
1584"endlinecolor": "#2a3f5f",
1585"gridcolor": "white",
1586"linecolor": "white",
1587"minorgridcolor": "white",
1588"startlinecolor": "#2a3f5f"
1589},
1590"type": "carpet"
1591}
1592],
1593"choropleth": [
1594{
1595"colorbar": {
1596"outlinewidth": 0,
1597"ticks": ""
1598},
1599"type": "choropleth"
1600}
1601],
1602"contour": [
1603{
1604"colorbar": {
1605"outlinewidth": 0,
1606"ticks": ""
1607},
1608"colorscale": [
1609[
16100,
1611"#0d0887"
1612],
1613[
16140.1111111111111111,
1615"#46039f"
1616],
1617[
16180.2222222222222222,
1619"#7201a8"
1620],
1621[
16220.3333333333333333,
1623"#9c179e"
1624],
1625[
16260.4444444444444444,
1627"#bd3786"
1628],
1629[
16300.5555555555555556,
1631"#d8576b"
1632],
1633[
16340.6666666666666666,
1635"#ed7953"
1636],
1637[
16380.7777777777777778,
1639"#fb9f3a"
1640],
1641[
16420.8888888888888888,
1643"#fdca26"
1644],
1645[
16461,
1647"#f0f921"
1648]
1649],
1650"type": "contour"
1651}
1652],
1653"contourcarpet": [
1654{
1655"colorbar": {
1656"outlinewidth": 0,
1657"ticks": ""
1658},
1659"type": "contourcarpet"
1660}
1661],
1662"heatmap": [
1663{
1664"colorbar": {
1665"outlinewidth": 0,
1666"ticks": ""
1667},
1668"colorscale": [
1669[
16700,
1671"#0d0887"
1672],
1673[
16740.1111111111111111,
1675"#46039f"
1676],
1677[
16780.2222222222222222,
1679"#7201a8"
1680],
1681[
16820.3333333333333333,
1683"#9c179e"
1684],
1685[
16860.4444444444444444,
1687"#bd3786"
1688],
1689[
16900.5555555555555556,
1691"#d8576b"
1692],
1693[
16940.6666666666666666,
1695"#ed7953"
1696],
1697[
16980.7777777777777778,
1699"#fb9f3a"
1700],
1701[
17020.8888888888888888,
1703"#fdca26"
1704],
1705[
17061,
1707"#f0f921"
1708]
1709],
1710"type": "heatmap"
1711}
1712],
1713"heatmapgl": [
1714{
1715"colorbar": {
1716"outlinewidth": 0,
1717"ticks": ""
1718},
1719"colorscale": [
1720[
17210,
1722"#0d0887"
1723],
1724[
17250.1111111111111111,
1726"#46039f"
1727],
1728[
17290.2222222222222222,
1730"#7201a8"
1731],
1732[
17330.3333333333333333,
1734"#9c179e"
1735],
1736[
17370.4444444444444444,
1738"#bd3786"
1739],
1740[
17410.5555555555555556,
1742"#d8576b"
1743],
1744[
17450.6666666666666666,
1746"#ed7953"
1747],
1748[
17490.7777777777777778,
1750"#fb9f3a"
1751],
1752[
17530.8888888888888888,
1754"#fdca26"
1755],
1756[
17571,
1758"#f0f921"
1759]
1760],
1761"type": "heatmapgl"
1762}
1763],
1764"histogram": [
1765{
1766"marker": {
1767"colorbar": {
1768"outlinewidth": 0,
1769"ticks": ""
1770}
1771},
1772"type": "histogram"
1773}
1774],
1775"histogram2d": [
1776{
1777"colorbar": {
1778"outlinewidth": 0,
1779"ticks": ""
1780},
1781"colorscale": [
1782[
17830,
1784"#0d0887"
1785],
1786[
17870.1111111111111111,
1788"#46039f"
1789],
1790[
17910.2222222222222222,
1792"#7201a8"
1793],
1794[
17950.3333333333333333,
1796"#9c179e"
1797],
1798[
17990.4444444444444444,
1800"#bd3786"
1801],
1802[
18030.5555555555555556,
1804"#d8576b"
1805],
1806[
18070.6666666666666666,
1808"#ed7953"
1809],
1810[
18110.7777777777777778,
1812"#fb9f3a"
1813],
1814[
18150.8888888888888888,
1816"#fdca26"
1817],
1818[
18191,
1820"#f0f921"
1821]
1822],
1823"type": "histogram2d"
1824}
1825],
1826"histogram2dcontour": [
1827{
1828"colorbar": {
1829"outlinewidth": 0,
1830"ticks": ""
1831},
1832"colorscale": [
1833[
18340,
1835"#0d0887"
1836],
1837[
18380.1111111111111111,
1839"#46039f"
1840],
1841[
18420.2222222222222222,
1843"#7201a8"
1844],
1845[
18460.3333333333333333,
1847"#9c179e"
1848],
1849[
18500.4444444444444444,
1851"#bd3786"
1852],
1853[
18540.5555555555555556,
1855"#d8576b"
1856],
1857[
18580.6666666666666666,
1859"#ed7953"
1860],
1861[
18620.7777777777777778,
1863"#fb9f3a"
1864],
1865[
18660.8888888888888888,
1867"#fdca26"
1868],
1869[
18701,
1871"#f0f921"
1872]
1873],
1874"type": "histogram2dcontour"
1875}
1876],
1877"mesh3d": [
1878{
1879"colorbar": {
1880"outlinewidth": 0,
1881"ticks": ""
1882},
1883"type": "mesh3d"
1884}
1885],
1886"parcoords": [
1887{
1888"line": {
1889"colorbar": {
1890"outlinewidth": 0,
1891"ticks": ""
1892}
1893},
1894"type": "parcoords"
1895}
1896],
1897"pie": [
1898{
1899"automargin": true,
1900"type": "pie"
1901}
1902],
1903"scatter": [
1904{
1905"marker": {
1906"colorbar": {
1907"outlinewidth": 0,
1908"ticks": ""
1909}
1910},
1911"type": "scatter"
1912}
1913],
1914"scatter3d": [
1915{
1916"line": {
1917"colorbar": {
1918"outlinewidth": 0,
1919"ticks": ""
1920}
1921},
1922"marker": {
1923"colorbar": {
1924"outlinewidth": 0,
1925"ticks": ""
1926}
1927},
1928"type": "scatter3d"
1929}
1930],
1931"scattercarpet": [
1932{
1933"marker": {
1934"colorbar": {
1935"outlinewidth": 0,
1936"ticks": ""
1937}
1938},
1939"type": "scattercarpet"
1940}
1941],
1942"scattergeo": [
1943{
1944"marker": {
1945"colorbar": {
1946"outlinewidth": 0,
1947"ticks": ""
1948}
1949},
1950"type": "scattergeo"
1951}
1952],
1953"scattergl": [
1954{
1955"marker": {
1956"colorbar": {
1957"outlinewidth": 0,
1958"ticks": ""
1959}
1960},
1961"type": "scattergl"
1962}
1963],
1964"scattermapbox": [
1965{
1966"marker": {
1967"colorbar": {
1968"outlinewidth": 0,
1969"ticks": ""
1970}
1971},
1972"type": "scattermapbox"
1973}
1974],
1975"scatterpolar": [
1976{
1977"marker": {
1978"colorbar": {
1979"outlinewidth": 0,
1980"ticks": ""
1981}
1982},
1983"type": "scatterpolar"
1984}
1985],
1986"scatterpolargl": [
1987{
1988"marker": {
1989"colorbar": {
1990"outlinewidth": 0,
1991"ticks": ""
1992}
1993},
1994"type": "scatterpolargl"
1995}
1996],
1997"scatterternary": [
1998{
1999"marker": {
2000"colorbar": {
2001"outlinewidth": 0,
2002"ticks": ""
2003}
2004},
2005"type": "scatterternary"
2006}
2007],
2008"surface": [
2009{
2010"colorbar": {
2011"outlinewidth": 0,
2012"ticks": ""
2013},
2014"colorscale": [
2015[
20160,
2017"#0d0887"
2018],
2019[
20200.1111111111111111,
2021"#46039f"
2022],
2023[
20240.2222222222222222,
2025"#7201a8"
2026],
2027[
20280.3333333333333333,
2029"#9c179e"
2030],
2031[
20320.4444444444444444,
2033"#bd3786"
2034],
2035[
20360.5555555555555556,
2037"#d8576b"
2038],
2039[
20400.6666666666666666,
2041"#ed7953"
2042],
2043[
20440.7777777777777778,
2045"#fb9f3a"
2046],
2047[
20480.8888888888888888,
2049"#fdca26"
2050],
2051[
20521,
2053"#f0f921"
2054]
2055],
2056"type": "surface"
2057}
2058],
2059"table": [
2060{
2061"cells": {
2062"fill": {
2063"color": "#EBF0F8"
2064},
2065"line": {
2066"color": "white"
2067}
2068},
2069"header": {
2070"fill": {
2071"color": "#C8D4E3"
2072},
2073"line": {
2074"color": "white"
2075}
2076},
2077"type": "table"
2078}
2079]
2080},
2081"layout": {
2082"annotationdefaults": {
2083"arrowcolor": "#2a3f5f",
2084"arrowhead": 0,
2085"arrowwidth": 1
2086},
2087"autotypenumbers": "strict",
2088"coloraxis": {
2089"colorbar": {
2090"outlinewidth": 0,
2091"ticks": ""
2092}
2093},
2094"colorscale": {
2095"diverging": [
2096[
20970,
2098"#8e0152"
2099],
2100[
21010.1,
2102"#c51b7d"
2103],
2104[
21050.2,
2106"#de77ae"
2107],
2108[
21090.3,
2110"#f1b6da"
2111],
2112[
21130.4,
2114"#fde0ef"
2115],
2116[
21170.5,
2118"#f7f7f7"
2119],
2120[
21210.6,
2122"#e6f5d0"
2123],
2124[
21250.7,
2126"#b8e186"
2127],
2128[
21290.8,
2130"#7fbc41"
2131],
2132[
21330.9,
2134"#4d9221"
2135],
2136[
21371,
2138"#276419"
2139]
2140],
2141"sequential": [
2142[
21430,
2144"#0d0887"
2145],
2146[
21470.1111111111111111,
2148"#46039f"
2149],
2150[
21510.2222222222222222,
2152"#7201a8"
2153],
2154[
21550.3333333333333333,
2156"#9c179e"
2157],
2158[
21590.4444444444444444,
2160"#bd3786"
2161],
2162[
21630.5555555555555556,
2164"#d8576b"
2165],
2166[
21670.6666666666666666,
2168"#ed7953"
2169],
2170[
21710.7777777777777778,
2172"#fb9f3a"
2173],
2174[
21750.8888888888888888,
2176"#fdca26"
2177],
2178[
21791,
2180"#f0f921"
2181]
2182],
2183"sequentialminus": [
2184[
21850,
2186"#0d0887"
2187],
2188[
21890.1111111111111111,
2190"#46039f"
2191],
2192[
21930.2222222222222222,
2194"#7201a8"
2195],
2196[
21970.3333333333333333,
2198"#9c179e"
2199],
2200[
22010.4444444444444444,
2202"#bd3786"
2203],
2204[
22050.5555555555555556,
2206"#d8576b"
2207],
2208[
22090.6666666666666666,
2210"#ed7953"
2211],
2212[
22130.7777777777777778,
2214"#fb9f3a"
2215],
2216[
22170.8888888888888888,
2218"#fdca26"
2219],
2220[
22211,
2222"#f0f921"
2223]
2224]
2225},
2226"colorway": [
2227"#636efa",
2228"#EF553B",
2229"#00cc96",
2230"#ab63fa",
2231"#FFA15A",
2232"#19d3f3",
2233"#FF6692",
2234"#B6E880",
2235"#FF97FF",
2236"#FECB52"
2237],
2238"font": {
2239"color": "#2a3f5f"
2240},
2241"geo": {
2242"bgcolor": "white",
2243"lakecolor": "white",
2244"landcolor": "#E5ECF6",
2245"showlakes": true,
2246"showland": true,
2247"subunitcolor": "white"
2248},
2249"hoverlabel": {
2250"align": "left"
2251},
2252"hovermode": "closest",
2253"mapbox": {
2254"style": "light"
2255},
2256"paper_bgcolor": "white",
2257"plot_bgcolor": "#E5ECF6",
2258"polar": {
2259"angularaxis": {
2260"gridcolor": "white",
2261"linecolor": "white",
2262"ticks": ""
2263},
2264"bgcolor": "#E5ECF6",
2265"radialaxis": {
2266"gridcolor": "white",
2267"linecolor": "white",
2268"ticks": ""
2269}
2270},
2271"scene": {
2272"xaxis": {
2273"backgroundcolor": "#E5ECF6",
2274"gridcolor": "white",
2275"gridwidth": 2,
2276"linecolor": "white",
2277"showbackground": true,
2278"ticks": "",
2279"zerolinecolor": "white"
2280},
2281"yaxis": {
2282"backgroundcolor": "#E5ECF6",
2283"gridcolor": "white",
2284"gridwidth": 2,
2285"linecolor": "white",
2286"showbackground": true,
2287"ticks": "",
2288"zerolinecolor": "white"
2289},
2290"zaxis": {
2291"backgroundcolor": "#E5ECF6",
2292"gridcolor": "white",
2293"gridwidth": 2,
2294"linecolor": "white",
2295"showbackground": true,
2296"ticks": "",
2297"zerolinecolor": "white"
2298}
2299},
2300"shapedefaults": {
2301"line": {
2302"color": "#2a3f5f"
2303}
2304},
2305"ternary": {
2306"aaxis": {
2307"gridcolor": "white",
2308"linecolor": "white",
2309"ticks": ""
2310},
2311"baxis": {
2312"gridcolor": "white",
2313"linecolor": "white",
2314"ticks": ""
2315},
2316"bgcolor": "#E5ECF6",
2317"caxis": {
2318"gridcolor": "white",
2319"linecolor": "white",
2320"ticks": ""
2321}
2322},
2323"title": {
2324"x": 0.05
2325},
2326"xaxis": {
2327"automargin": true,
2328"gridcolor": "white",
2329"linecolor": "white",
2330"ticks": "",
2331"title": {
2332"standoff": 15
2333},
2334"zerolinecolor": "white",
2335"zerolinewidth": 2
2336},
2337"yaxis": {
2338"automargin": true,
2339"gridcolor": "white",
2340"linecolor": "white",
2341"ticks": "",
2342"title": {
2343"standoff": 15
2344},
2345"zerolinecolor": "white",
2346"zerolinewidth": 2
2347}
2348}
2349},
2350"title": {
2351"text": "Корреляция между продолжением скилла и оценкой"
2352},
2353"xaxis": {
2354"title": {
2355"text": "Skill"
2356}
2357},
2358"yaxis": {
2359"title": {
2360"text": "Correlation"
2361}
2362}
2363}
2364},
2365"text/html": [
2366"<div> <div id=\"e5a2bbc3-fd41-4fcd-bab4-05462cd9b0ed\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"e5a2bbc3-fd41-4fcd-bab4-05462cd9b0ed\")) { Plotly.newPlot( \"e5a2bbc3-fd41-4fcd-bab4-05462cd9b0ed\", [{\"name\": \"v16.2.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [-0.16344062225232156, -0.8703882797784893, 0.17466675292187456, 0, 0, -0.008244084888049553, -0.11111111111111113, 0.10232343558582008, -0.4894935754389833, null, 0.10447244794313079, 0, 0]}, {\"name\": \"v16.3.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [null, 0, 0, 0, 0, 0, null, 0, 0, 0, 0.5222329678670935, 0, 0]}, {\"name\": \"v16.4.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0, 0, 1.0, 0, 0, 0.8660254037844386, 0, 0, 0, 0, 0, 0, 0]}, {\"name\": \"v16.5.1\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}], {\"bargap\": 0.2, \"bargroupgap\": 0.1, \"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"autotypenumbers\": \"strict\", \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"title\": {\"text\": \"\\u041a\\u043e\\u0440\\u0440\\u0435\\u043b\\u044f\\u0446\\u0438\\u044f \\u043c\\u0435\\u0436\\u0434\\u0443 \\u043f\\u0440\\u043e\\u0434\\u043e\\u043b\\u0436\\u0435\\u043d\\u0438\\u0435\\u043c \\u0441\\u043a\\u0438\\u043b\\u043b\\u0430 \\u0438 \\u043e\\u0446\\u0435\\u043d\\u043a\\u043e\\u0439\"}, \"xaxis\": {\"title\": {\"text\": \"Skill\"}}, \"yaxis\": {\"title\": {\"text\": \"Correlation\"}}}, {\"responsive\": true} ).then(function(){\n",
2367" \n",
2368"var gd = document.getElementById('e5a2bbc3-fd41-4fcd-bab4-05462cd9b0ed');\n",
2369"var x = new MutationObserver(function (mutations, observer) {{\n",
2370" var display = window.getComputedStyle(gd).display;\n",
2371" if (!display || display === 'none') {{\n",
2372" console.log([gd, 'removed!']);\n",
2373" Plotly.purge(gd);\n",
2374" observer.disconnect();\n",
2375" }}\n",
2376"}});\n",
2377"\n",
2378"// Listen for the removal of the full notebook cells\n",
2379"var notebookContainer = gd.closest('#notebook-container');\n",
2380"if (notebookContainer) {{\n",
2381" x.observe(notebookContainer, {childList: true});\n",
2382"}}\n",
2383"\n",
2384"// Listen for the clearing of the current output cell\n",
2385"var outputEl = gd.closest('.output');\n",
2386"if (outputEl) {{\n",
2387" x.observe(outputEl, {childList: true});\n",
2388"}}\n",
2389"\n",
2390" }) }; }); </script> </div>"
2391]
2392},
2393"metadata": {},
2394"output_type": "display_data"
2395}
2396],
2397"source": [
2398"fig = go.Figure()\n",
2399"\n",
2400"for version in graphics_dict.keys():\n",
2401" \n",
2402" x0, y0 = [], []\n",
2403" \n",
2404" for skill in graphics_dict[version].keys():\n",
2405" x0.append(skill)\n",
2406" y0.append(graphics_dict[version][skill][\"active_rating_correlation\"])\n",
2407" \n",
2408" fig.add_trace(go.Bar(\n",
2409" x=x0,\n",
2410" y=y0,\n",
2411" name=version, \n",
2412" opacity=0.75\n",
2413" ))\n",
2414"\n",
2415"fig.update_layout(\n",
2416" title_text='Корреляция между продолжением скилла и оценкой', \n",
2417" xaxis_title_text='Skill', \n",
2418" yaxis_title_text='Correlation', \n",
2419" bargap=0.2, \n",
2420" bargroupgap=0.1 \n",
2421")\n",
2422"\n",
2423"fig.show()"
2424]
2425},
2426{
2427"cell_type": "code",
2428"execution_count": 58,
2429"id": "reflected-syria",
2430"metadata": {},
2431"outputs": [
2432{
2433"data": {
2434"application/vnd.plotly.v1+json": {
2435"config": {
2436"plotlyServerURL": "https://plot.ly"
2437},
2438"data": [
2439{
2440"marker": {
2441"color": "orange"
2442},
2443"name": "v16.2.0",
2444"opacity": 0.75,
2445"type": "bar",
2446"x": [
2447"dff_movie_skill",
2448"book_skill",
2449"game_cooperative_skill",
2450"dff_gaming_skill",
2451"dff_travel_skill",
2452"dff_animals_skill",
2453"dff_food_skill",
2454"dff_sport_skill",
2455"dff_gossip_skill",
2456"dff_science_skill",
2457"dff_music_skill",
2458"superheroes",
2459"school"
2460],
2461"y": [
246235,
246359,
246452,
24650,
246614,
246788,
246830,
246935,
247029,
247134,
247240,
24730,
24740
2475]
2476},
2477{
2478"marker": {
2479"color": "blue"
2480},
2481"name": "v16.3.0",
2482"opacity": 0.75,
2483"type": "bar",
2484"x": [
2485"dff_movie_skill",
2486"book_skill",
2487"game_cooperative_skill",
2488"dff_gaming_skill",
2489"dff_travel_skill",
2490"dff_animals_skill",
2491"dff_food_skill",
2492"dff_sport_skill",
2493"dff_gossip_skill",
2494"dff_science_skill",
2495"dff_music_skill",
2496"superheroes",
2497"school"
2498],
2499"y": [
25004,
25010,
25024,
25030,
25041,
25053,
25066,
25070,
25081,
25091,
25104,
25110,
25120
2513]
2514},
2515{
2516"marker": {
2517"color": "violet"
2518},
2519"name": "v16.4.0",
2520"opacity": 0.75,
2521"type": "bar",
2522"x": [
2523"dff_movie_skill",
2524"book_skill",
2525"game_cooperative_skill",
2526"dff_gaming_skill",
2527"dff_travel_skill",
2528"dff_animals_skill",
2529"dff_food_skill",
2530"dff_sport_skill",
2531"dff_gossip_skill",
2532"dff_science_skill",
2533"dff_music_skill",
2534"superheroes",
2535"school"
2536],
2537"y": [
25380,
25391,
25404,
25410,
25422,
25436,
25444,
25452,
25461,
25473,
25483,
25490,
25500
2551]
2552},
2553{
2554"marker": {
2555"color": "red"
2556},
2557"name": "v16.5.1",
2558"opacity": 0.75,
2559"type": "bar",
2560"x": [
2561"dff_movie_skill",
2562"book_skill",
2563"game_cooperative_skill",
2564"dff_gaming_skill",
2565"dff_travel_skill",
2566"dff_animals_skill",
2567"dff_food_skill",
2568"dff_sport_skill",
2569"dff_gossip_skill",
2570"dff_science_skill",
2571"dff_music_skill",
2572"superheroes",
2573"school"
2574],
2575"y": [
25761,
25773,
25789,
25790,
25801,
25818,
25823,
25834,
25845,
25853,
25861,
25870,
25880
2589]
2590}
2591],
2592"layout": {
2593"bargap": 0.2,
2594"bargroupgap": 0.1,
2595"template": {
2596"data": {
2597"bar": [
2598{
2599"error_x": {
2600"color": "#2a3f5f"
2601},
2602"error_y": {
2603"color": "#2a3f5f"
2604},
2605"marker": {
2606"line": {
2607"color": "#E5ECF6",
2608"width": 0.5
2609}
2610},
2611"type": "bar"
2612}
2613],
2614"barpolar": [
2615{
2616"marker": {
2617"line": {
2618"color": "#E5ECF6",
2619"width": 0.5
2620}
2621},
2622"type": "barpolar"
2623}
2624],
2625"carpet": [
2626{
2627"aaxis": {
2628"endlinecolor": "#2a3f5f",
2629"gridcolor": "white",
2630"linecolor": "white",
2631"minorgridcolor": "white",
2632"startlinecolor": "#2a3f5f"
2633},
2634"baxis": {
2635"endlinecolor": "#2a3f5f",
2636"gridcolor": "white",
2637"linecolor": "white",
2638"minorgridcolor": "white",
2639"startlinecolor": "#2a3f5f"
2640},
2641"type": "carpet"
2642}
2643],
2644"choropleth": [
2645{
2646"colorbar": {
2647"outlinewidth": 0,
2648"ticks": ""
2649},
2650"type": "choropleth"
2651}
2652],
2653"contour": [
2654{
2655"colorbar": {
2656"outlinewidth": 0,
2657"ticks": ""
2658},
2659"colorscale": [
2660[
26610,
2662"#0d0887"
2663],
2664[
26650.1111111111111111,
2666"#46039f"
2667],
2668[
26690.2222222222222222,
2670"#7201a8"
2671],
2672[
26730.3333333333333333,
2674"#9c179e"
2675],
2676[
26770.4444444444444444,
2678"#bd3786"
2679],
2680[
26810.5555555555555556,
2682"#d8576b"
2683],
2684[
26850.6666666666666666,
2686"#ed7953"
2687],
2688[
26890.7777777777777778,
2690"#fb9f3a"
2691],
2692[
26930.8888888888888888,
2694"#fdca26"
2695],
2696[
26971,
2698"#f0f921"
2699]
2700],
2701"type": "contour"
2702}
2703],
2704"contourcarpet": [
2705{
2706"colorbar": {
2707"outlinewidth": 0,
2708"ticks": ""
2709},
2710"type": "contourcarpet"
2711}
2712],
2713"heatmap": [
2714{
2715"colorbar": {
2716"outlinewidth": 0,
2717"ticks": ""
2718},
2719"colorscale": [
2720[
27210,
2722"#0d0887"
2723],
2724[
27250.1111111111111111,
2726"#46039f"
2727],
2728[
27290.2222222222222222,
2730"#7201a8"
2731],
2732[
27330.3333333333333333,
2734"#9c179e"
2735],
2736[
27370.4444444444444444,
2738"#bd3786"
2739],
2740[
27410.5555555555555556,
2742"#d8576b"
2743],
2744[
27450.6666666666666666,
2746"#ed7953"
2747],
2748[
27490.7777777777777778,
2750"#fb9f3a"
2751],
2752[
27530.8888888888888888,
2754"#fdca26"
2755],
2756[
27571,
2758"#f0f921"
2759]
2760],
2761"type": "heatmap"
2762}
2763],
2764"heatmapgl": [
2765{
2766"colorbar": {
2767"outlinewidth": 0,
2768"ticks": ""
2769},
2770"colorscale": [
2771[
27720,
2773"#0d0887"
2774],
2775[
27760.1111111111111111,
2777"#46039f"
2778],
2779[
27800.2222222222222222,
2781"#7201a8"
2782],
2783[
27840.3333333333333333,
2785"#9c179e"
2786],
2787[
27880.4444444444444444,
2789"#bd3786"
2790],
2791[
27920.5555555555555556,
2793"#d8576b"
2794],
2795[
27960.6666666666666666,
2797"#ed7953"
2798],
2799[
28000.7777777777777778,
2801"#fb9f3a"
2802],
2803[
28040.8888888888888888,
2805"#fdca26"
2806],
2807[
28081,
2809"#f0f921"
2810]
2811],
2812"type": "heatmapgl"
2813}
2814],
2815"histogram": [
2816{
2817"marker": {
2818"colorbar": {
2819"outlinewidth": 0,
2820"ticks": ""
2821}
2822},
2823"type": "histogram"
2824}
2825],
2826"histogram2d": [
2827{
2828"colorbar": {
2829"outlinewidth": 0,
2830"ticks": ""
2831},
2832"colorscale": [
2833[
28340,
2835"#0d0887"
2836],
2837[
28380.1111111111111111,
2839"#46039f"
2840],
2841[
28420.2222222222222222,
2843"#7201a8"
2844],
2845[
28460.3333333333333333,
2847"#9c179e"
2848],
2849[
28500.4444444444444444,
2851"#bd3786"
2852],
2853[
28540.5555555555555556,
2855"#d8576b"
2856],
2857[
28580.6666666666666666,
2859"#ed7953"
2860],
2861[
28620.7777777777777778,
2863"#fb9f3a"
2864],
2865[
28660.8888888888888888,
2867"#fdca26"
2868],
2869[
28701,
2871"#f0f921"
2872]
2873],
2874"type": "histogram2d"
2875}
2876],
2877"histogram2dcontour": [
2878{
2879"colorbar": {
2880"outlinewidth": 0,
2881"ticks": ""
2882},
2883"colorscale": [
2884[
28850,
2886"#0d0887"
2887],
2888[
28890.1111111111111111,
2890"#46039f"
2891],
2892[
28930.2222222222222222,
2894"#7201a8"
2895],
2896[
28970.3333333333333333,
2898"#9c179e"
2899],
2900[
29010.4444444444444444,
2902"#bd3786"
2903],
2904[
29050.5555555555555556,
2906"#d8576b"
2907],
2908[
29090.6666666666666666,
2910"#ed7953"
2911],
2912[
29130.7777777777777778,
2914"#fb9f3a"
2915],
2916[
29170.8888888888888888,
2918"#fdca26"
2919],
2920[
29211,
2922"#f0f921"
2923]
2924],
2925"type": "histogram2dcontour"
2926}
2927],
2928"mesh3d": [
2929{
2930"colorbar": {
2931"outlinewidth": 0,
2932"ticks": ""
2933},
2934"type": "mesh3d"
2935}
2936],
2937"parcoords": [
2938{
2939"line": {
2940"colorbar": {
2941"outlinewidth": 0,
2942"ticks": ""
2943}
2944},
2945"type": "parcoords"
2946}
2947],
2948"pie": [
2949{
2950"automargin": true,
2951"type": "pie"
2952}
2953],
2954"scatter": [
2955{
2956"marker": {
2957"colorbar": {
2958"outlinewidth": 0,
2959"ticks": ""
2960}
2961},
2962"type": "scatter"
2963}
2964],
2965"scatter3d": [
2966{
2967"line": {
2968"colorbar": {
2969"outlinewidth": 0,
2970"ticks": ""
2971}
2972},
2973"marker": {
2974"colorbar": {
2975"outlinewidth": 0,
2976"ticks": ""
2977}
2978},
2979"type": "scatter3d"
2980}
2981],
2982"scattercarpet": [
2983{
2984"marker": {
2985"colorbar": {
2986"outlinewidth": 0,
2987"ticks": ""
2988}
2989},
2990"type": "scattercarpet"
2991}
2992],
2993"scattergeo": [
2994{
2995"marker": {
2996"colorbar": {
2997"outlinewidth": 0,
2998"ticks": ""
2999}
3000},
3001"type": "scattergeo"
3002}
3003],
3004"scattergl": [
3005{
3006"marker": {
3007"colorbar": {
3008"outlinewidth": 0,
3009"ticks": ""
3010}
3011},
3012"type": "scattergl"
3013}
3014],
3015"scattermapbox": [
3016{
3017"marker": {
3018"colorbar": {
3019"outlinewidth": 0,
3020"ticks": ""
3021}
3022},
3023"type": "scattermapbox"
3024}
3025],
3026"scatterpolar": [
3027{
3028"marker": {
3029"colorbar": {
3030"outlinewidth": 0,
3031"ticks": ""
3032}
3033},
3034"type": "scatterpolar"
3035}
3036],
3037"scatterpolargl": [
3038{
3039"marker": {
3040"colorbar": {
3041"outlinewidth": 0,
3042"ticks": ""
3043}
3044},
3045"type": "scatterpolargl"
3046}
3047],
3048"scatterternary": [
3049{
3050"marker": {
3051"colorbar": {
3052"outlinewidth": 0,
3053"ticks": ""
3054}
3055},
3056"type": "scatterternary"
3057}
3058],
3059"surface": [
3060{
3061"colorbar": {
3062"outlinewidth": 0,
3063"ticks": ""
3064},
3065"colorscale": [
3066[
30670,
3068"#0d0887"
3069],
3070[
30710.1111111111111111,
3072"#46039f"
3073],
3074[
30750.2222222222222222,
3076"#7201a8"
3077],
3078[
30790.3333333333333333,
3080"#9c179e"
3081],
3082[
30830.4444444444444444,
3084"#bd3786"
3085],
3086[
30870.5555555555555556,
3088"#d8576b"
3089],
3090[
30910.6666666666666666,
3092"#ed7953"
3093],
3094[
30950.7777777777777778,
3096"#fb9f3a"
3097],
3098[
30990.8888888888888888,
3100"#fdca26"
3101],
3102[
31031,
3104"#f0f921"
3105]
3106],
3107"type": "surface"
3108}
3109],
3110"table": [
3111{
3112"cells": {
3113"fill": {
3114"color": "#EBF0F8"
3115},
3116"line": {
3117"color": "white"
3118}
3119},
3120"header": {
3121"fill": {
3122"color": "#C8D4E3"
3123},
3124"line": {
3125"color": "white"
3126}
3127},
3128"type": "table"
3129}
3130]
3131},
3132"layout": {
3133"annotationdefaults": {
3134"arrowcolor": "#2a3f5f",
3135"arrowhead": 0,
3136"arrowwidth": 1
3137},
3138"autotypenumbers": "strict",
3139"coloraxis": {
3140"colorbar": {
3141"outlinewidth": 0,
3142"ticks": ""
3143}
3144},
3145"colorscale": {
3146"diverging": [
3147[
31480,
3149"#8e0152"
3150],
3151[
31520.1,
3153"#c51b7d"
3154],
3155[
31560.2,
3157"#de77ae"
3158],
3159[
31600.3,
3161"#f1b6da"
3162],
3163[
31640.4,
3165"#fde0ef"
3166],
3167[
31680.5,
3169"#f7f7f7"
3170],
3171[
31720.6,
3173"#e6f5d0"
3174],
3175[
31760.7,
3177"#b8e186"
3178],
3179[
31800.8,
3181"#7fbc41"
3182],
3183[
31840.9,
3185"#4d9221"
3186],
3187[
31881,
3189"#276419"
3190]
3191],
3192"sequential": [
3193[
31940,
3195"#0d0887"
3196],
3197[
31980.1111111111111111,
3199"#46039f"
3200],
3201[
32020.2222222222222222,
3203"#7201a8"
3204],
3205[
32060.3333333333333333,
3207"#9c179e"
3208],
3209[
32100.4444444444444444,
3211"#bd3786"
3212],
3213[
32140.5555555555555556,
3215"#d8576b"
3216],
3217[
32180.6666666666666666,
3219"#ed7953"
3220],
3221[
32220.7777777777777778,
3223"#fb9f3a"
3224],
3225[
32260.8888888888888888,
3227"#fdca26"
3228],
3229[
32301,
3231"#f0f921"
3232]
3233],
3234"sequentialminus": [
3235[
32360,
3237"#0d0887"
3238],
3239[
32400.1111111111111111,
3241"#46039f"
3242],
3243[
32440.2222222222222222,
3245"#7201a8"
3246],
3247[
32480.3333333333333333,
3249"#9c179e"
3250],
3251[
32520.4444444444444444,
3253"#bd3786"
3254],
3255[
32560.5555555555555556,
3257"#d8576b"
3258],
3259[
32600.6666666666666666,
3261"#ed7953"
3262],
3263[
32640.7777777777777778,
3265"#fb9f3a"
3266],
3267[
32680.8888888888888888,
3269"#fdca26"
3270],
3271[
32721,
3273"#f0f921"
3274]
3275]
3276},
3277"colorway": [
3278"#636efa",
3279"#EF553B",
3280"#00cc96",
3281"#ab63fa",
3282"#FFA15A",
3283"#19d3f3",
3284"#FF6692",
3285"#B6E880",
3286"#FF97FF",
3287"#FECB52"
3288],
3289"font": {
3290"color": "#2a3f5f"
3291},
3292"geo": {
3293"bgcolor": "white",
3294"lakecolor": "white",
3295"landcolor": "#E5ECF6",
3296"showlakes": true,
3297"showland": true,
3298"subunitcolor": "white"
3299},
3300"hoverlabel": {
3301"align": "left"
3302},
3303"hovermode": "closest",
3304"mapbox": {
3305"style": "light"
3306},
3307"paper_bgcolor": "white",
3308"plot_bgcolor": "#E5ECF6",
3309"polar": {
3310"angularaxis": {
3311"gridcolor": "white",
3312"linecolor": "white",
3313"ticks": ""
3314},
3315"bgcolor": "#E5ECF6",
3316"radialaxis": {
3317"gridcolor": "white",
3318"linecolor": "white",
3319"ticks": ""
3320}
3321},
3322"scene": {
3323"xaxis": {
3324"backgroundcolor": "#E5ECF6",
3325"gridcolor": "white",
3326"gridwidth": 2,
3327"linecolor": "white",
3328"showbackground": true,
3329"ticks": "",
3330"zerolinecolor": "white"
3331},
3332"yaxis": {
3333"backgroundcolor": "#E5ECF6",
3334"gridcolor": "white",
3335"gridwidth": 2,
3336"linecolor": "white",
3337"showbackground": true,
3338"ticks": "",
3339"zerolinecolor": "white"
3340},
3341"zaxis": {
3342"backgroundcolor": "#E5ECF6",
3343"gridcolor": "white",
3344"gridwidth": 2,
3345"linecolor": "white",
3346"showbackground": true,
3347"ticks": "",
3348"zerolinecolor": "white"
3349}
3350},
3351"shapedefaults": {
3352"line": {
3353"color": "#2a3f5f"
3354}
3355},
3356"ternary": {
3357"aaxis": {
3358"gridcolor": "white",
3359"linecolor": "white",
3360"ticks": ""
3361},
3362"baxis": {
3363"gridcolor": "white",
3364"linecolor": "white",
3365"ticks": ""
3366},
3367"bgcolor": "#E5ECF6",
3368"caxis": {
3369"gridcolor": "white",
3370"linecolor": "white",
3371"ticks": ""
3372}
3373},
3374"title": {
3375"x": 0.05
3376},
3377"xaxis": {
3378"automargin": true,
3379"gridcolor": "white",
3380"linecolor": "white",
3381"ticks": "",
3382"title": {
3383"standoff": 15
3384},
3385"zerolinecolor": "white",
3386"zerolinewidth": 2
3387},
3388"yaxis": {
3389"automargin": true,
3390"gridcolor": "white",
3391"linecolor": "white",
3392"ticks": "",
3393"title": {
3394"standoff": 15
3395},
3396"zerolinecolor": "white",
3397"zerolinewidth": 2
3398}
3399}
3400},
3401"title": {
3402"text": "Количество линков на скилл"
3403},
3404"xaxis": {
3405"title": {
3406"text": "Skill"
3407}
3408},
3409"yaxis": {
3410"title": {
3411"text": "Count"
3412}
3413}
3414}
3415},
3416"text/html": [
3417"<div> <div id=\"83520569-a822-42b5-b628-43af89d2f765\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"83520569-a822-42b5-b628-43af89d2f765\")) { Plotly.newPlot( \"83520569-a822-42b5-b628-43af89d2f765\", [{\"marker\": {\"color\": \"orange\"}, \"name\": \"v16.2.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [35, 59, 52, 0, 14, 88, 30, 35, 29, 34, 40, 0, 0]}, {\"marker\": {\"color\": \"blue\"}, \"name\": \"v16.3.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [4, 0, 4, 0, 1, 3, 6, 0, 1, 1, 4, 0, 0]}, {\"marker\": {\"color\": \"violet\"}, \"name\": \"v16.4.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0, 1, 4, 0, 2, 6, 4, 2, 1, 3, 3, 0, 0]}, {\"marker\": {\"color\": \"red\"}, \"name\": \"v16.5.1\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [1, 3, 9, 0, 1, 8, 3, 4, 5, 3, 1, 0, 0]}], {\"bargap\": 0.2, \"bargroupgap\": 0.1, \"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"autotypenumbers\": \"strict\", \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"title\": {\"text\": \"\\u041a\\u043e\\u043b\\u0438\\u0447\\u0435\\u0441\\u0442\\u0432\\u043e \\u043b\\u0438\\u043d\\u043a\\u043e\\u0432 \\u043d\\u0430 \\u0441\\u043a\\u0438\\u043b\\u043b\"}, \"xaxis\": {\"title\": {\"text\": \"Skill\"}}, \"yaxis\": {\"title\": {\"text\": \"Count\"}}}, {\"responsive\": true} ).then(function(){\n",
3418" \n",
3419"var gd = document.getElementById('83520569-a822-42b5-b628-43af89d2f765');\n",
3420"var x = new MutationObserver(function (mutations, observer) {{\n",
3421" var display = window.getComputedStyle(gd).display;\n",
3422" if (!display || display === 'none') {{\n",
3423" console.log([gd, 'removed!']);\n",
3424" Plotly.purge(gd);\n",
3425" observer.disconnect();\n",
3426" }}\n",
3427"}});\n",
3428"\n",
3429"// Listen for the removal of the full notebook cells\n",
3430"var notebookContainer = gd.closest('#notebook-container');\n",
3431"if (notebookContainer) {{\n",
3432" x.observe(notebookContainer, {childList: true});\n",
3433"}}\n",
3434"\n",
3435"// Listen for the clearing of the current output cell\n",
3436"var outputEl = gd.closest('.output');\n",
3437"if (outputEl) {{\n",
3438" x.observe(outputEl, {childList: true});\n",
3439"}}\n",
3440"\n",
3441" }) }; }); </script> </div>"
3442]
3443},
3444"metadata": {},
3445"output_type": "display_data"
3446}
3447],
3448"source": [
3449"fig = go.Figure()\n",
3450"\n",
3451"for version in support_topic_count.keys():\n",
3452" \n",
3453" x0, y0 = [], []\n",
3454" \n",
3455" for skill in support_topic_count[version].keys():\n",
3456" x0.append(skill)\n",
3457" y0.append(support_topic_count[version][skill][\"yes\"] + support_topic_count[version][skill][\"no\"])\n",
3458" \n",
3459" fig.add_trace(go.Bar(\n",
3460" x=x0,\n",
3461" y=y0,\n",
3462" name=version, # name used in legend and hover labels\n",
3463" marker_color=colour_dict[version],\n",
3464" opacity=0.75\n",
3465" ))\n",
3466"\n",
3467"fig.update_layout(\n",
3468" title_text='Количество линков на скилл',\n",
3469" xaxis_title_text='Skill',\n",
3470" yaxis_title_text='Count',\n",
3471" bargap=0.2,\n",
3472" bargroupgap=0.1 \n",
3473")\n",
3474"\n",
3475"fig.show()"
3476]
3477},
3478{
3479"cell_type": "code",
3480"execution_count": 60,
3481"id": "grateful-bradley",
3482"metadata": {},
3483"outputs": [
3484{
3485"data": {
3486"application/vnd.plotly.v1+json": {
3487"config": {
3488"plotlyServerURL": "https://plot.ly"
3489},
3490"data": [
3491{
3492"marker": {
3493"color": "orange"
3494},
3495"name": "v16.2.0",
3496"opacity": 0.75,
3497"type": "bar",
3498"x": [
3499"dff_movie_skill",
3500"book_skill",
3501"game_cooperative_skill",
3502"dff_gaming_skill",
3503"dff_travel_skill",
3504"dff_animals_skill",
3505"dff_food_skill",
3506"dff_sport_skill",
3507"dff_gossip_skill",
3508"dff_science_skill",
3509"dff_music_skill",
3510"superheroes",
3511"school"
3512],
3513"y": [
35140.08413461538461539,
35150.14182692307692307,
35160.125,
35170,
35180.03365384615384615,
35190.21153846153846154,
35200.07211538461538461,
35210.08413461538461539,
35220.06971153846153846,
35230.08173076923076923,
35240.09615384615384616,
35250,
35260
3527]
3528},
3529{
3530"marker": {
3531"color": "blue"
3532},
3533"name": "v16.3.0",
3534"opacity": 0.75,
3535"type": "bar",
3536"x": [
3537"dff_movie_skill",
3538"book_skill",
3539"game_cooperative_skill",
3540"dff_gaming_skill",
3541"dff_travel_skill",
3542"dff_animals_skill",
3543"dff_food_skill",
3544"dff_sport_skill",
3545"dff_gossip_skill",
3546"dff_science_skill",
3547"dff_music_skill",
3548"superheroes",
3549"school"
3550],
3551"y": [
35520.16666666666666666,
35530,
35540.16666666666666666,
35550,
35560.041666666666666664,
35570.125,
35580.25,
35590,
35600.041666666666666664,
35610.041666666666666664,
35620.16666666666666666,
35630,
35640
3565]
3566},
3567{
3568"marker": {
3569"color": "violet"
3570},
3571"name": "v16.4.0",
3572"opacity": 0.75,
3573"type": "bar",
3574"x": [
3575"dff_movie_skill",
3576"book_skill",
3577"game_cooperative_skill",
3578"dff_gaming_skill",
3579"dff_travel_skill",
3580"dff_animals_skill",
3581"dff_food_skill",
3582"dff_sport_skill",
3583"dff_gossip_skill",
3584"dff_science_skill",
3585"dff_music_skill",
3586"superheroes",
3587"school"
3588],
3589"y": [
35900,
35910.038461538461538464,
35920.15384615384615385,
35930,
35940.07692307692307693,
35950.23076923076923078,
35960.15384615384615385,
35970.07692307692307693,
35980.038461538461538464,
35990.11538461538461539,
36000.11538461538461539,
36010,
36020
3603]
3604},
3605{
3606"marker": {
3607"color": "red"
3608},
3609"name": "v16.5.1",
3610"opacity": 0.75,
3611"type": "bar",
3612"x": [
3613"dff_movie_skill",
3614"book_skill",
3615"game_cooperative_skill",
3616"dff_gaming_skill",
3617"dff_travel_skill",
3618"dff_animals_skill",
3619"dff_food_skill",
3620"dff_sport_skill",
3621"dff_gossip_skill",
3622"dff_science_skill",
3623"dff_music_skill",
3624"superheroes",
3625"school"
3626],
3627"y": [
36280.02631578947368421,
36290.07894736842105263,
36300.23684210526315788,
36310,
36320.02631578947368421,
36330.21052631578947367,
36340.07894736842105263,
36350.10526315789473684,
36360.13157894736842105,
36370.07894736842105263,
36380.02631578947368421,
36390,
36400
3641]
3642}
3643],
3644"layout": {
3645"bargap": 0.2,
3646"bargroupgap": 0.1,
3647"template": {
3648"data": {
3649"bar": [
3650{
3651"error_x": {
3652"color": "#2a3f5f"
3653},
3654"error_y": {
3655"color": "#2a3f5f"
3656},
3657"marker": {
3658"line": {
3659"color": "#E5ECF6",
3660"width": 0.5
3661}
3662},
3663"type": "bar"
3664}
3665],
3666"barpolar": [
3667{
3668"marker": {
3669"line": {
3670"color": "#E5ECF6",
3671"width": 0.5
3672}
3673},
3674"type": "barpolar"
3675}
3676],
3677"carpet": [
3678{
3679"aaxis": {
3680"endlinecolor": "#2a3f5f",
3681"gridcolor": "white",
3682"linecolor": "white",
3683"minorgridcolor": "white",
3684"startlinecolor": "#2a3f5f"
3685},
3686"baxis": {
3687"endlinecolor": "#2a3f5f",
3688"gridcolor": "white",
3689"linecolor": "white",
3690"minorgridcolor": "white",
3691"startlinecolor": "#2a3f5f"
3692},
3693"type": "carpet"
3694}
3695],
3696"choropleth": [
3697{
3698"colorbar": {
3699"outlinewidth": 0,
3700"ticks": ""
3701},
3702"type": "choropleth"
3703}
3704],
3705"contour": [
3706{
3707"colorbar": {
3708"outlinewidth": 0,
3709"ticks": ""
3710},
3711"colorscale": [
3712[
37130,
3714"#0d0887"
3715],
3716[
37170.1111111111111111,
3718"#46039f"
3719],
3720[
37210.2222222222222222,
3722"#7201a8"
3723],
3724[
37250.3333333333333333,
3726"#9c179e"
3727],
3728[
37290.4444444444444444,
3730"#bd3786"
3731],
3732[
37330.5555555555555556,
3734"#d8576b"
3735],
3736[
37370.6666666666666666,
3738"#ed7953"
3739],
3740[
37410.7777777777777778,
3742"#fb9f3a"
3743],
3744[
37450.8888888888888888,
3746"#fdca26"
3747],
3748[
37491,
3750"#f0f921"
3751]
3752],
3753"type": "contour"
3754}
3755],
3756"contourcarpet": [
3757{
3758"colorbar": {
3759"outlinewidth": 0,
3760"ticks": ""
3761},
3762"type": "contourcarpet"
3763}
3764],
3765"heatmap": [
3766{
3767"colorbar": {
3768"outlinewidth": 0,
3769"ticks": ""
3770},
3771"colorscale": [
3772[
37730,
3774"#0d0887"
3775],
3776[
37770.1111111111111111,
3778"#46039f"
3779],
3780[
37810.2222222222222222,
3782"#7201a8"
3783],
3784[
37850.3333333333333333,
3786"#9c179e"
3787],
3788[
37890.4444444444444444,
3790"#bd3786"
3791],
3792[
37930.5555555555555556,
3794"#d8576b"
3795],
3796[
37970.6666666666666666,
3798"#ed7953"
3799],
3800[
38010.7777777777777778,
3802"#fb9f3a"
3803],
3804[
38050.8888888888888888,
3806"#fdca26"
3807],
3808[
38091,
3810"#f0f921"
3811]
3812],
3813"type": "heatmap"
3814}
3815],
3816"heatmapgl": [
3817{
3818"colorbar": {
3819"outlinewidth": 0,
3820"ticks": ""
3821},
3822"colorscale": [
3823[
38240,
3825"#0d0887"
3826],
3827[
38280.1111111111111111,
3829"#46039f"
3830],
3831[
38320.2222222222222222,
3833"#7201a8"
3834],
3835[
38360.3333333333333333,
3837"#9c179e"
3838],
3839[
38400.4444444444444444,
3841"#bd3786"
3842],
3843[
38440.5555555555555556,
3845"#d8576b"
3846],
3847[
38480.6666666666666666,
3849"#ed7953"
3850],
3851[
38520.7777777777777778,
3853"#fb9f3a"
3854],
3855[
38560.8888888888888888,
3857"#fdca26"
3858],
3859[
38601,
3861"#f0f921"
3862]
3863],
3864"type": "heatmapgl"
3865}
3866],
3867"histogram": [
3868{
3869"marker": {
3870"colorbar": {
3871"outlinewidth": 0,
3872"ticks": ""
3873}
3874},
3875"type": "histogram"
3876}
3877],
3878"histogram2d": [
3879{
3880"colorbar": {
3881"outlinewidth": 0,
3882"ticks": ""
3883},
3884"colorscale": [
3885[
38860,
3887"#0d0887"
3888],
3889[
38900.1111111111111111,
3891"#46039f"
3892],
3893[
38940.2222222222222222,
3895"#7201a8"
3896],
3897[
38980.3333333333333333,
3899"#9c179e"
3900],
3901[
39020.4444444444444444,
3903"#bd3786"
3904],
3905[
39060.5555555555555556,
3907"#d8576b"
3908],
3909[
39100.6666666666666666,
3911"#ed7953"
3912],
3913[
39140.7777777777777778,
3915"#fb9f3a"
3916],
3917[
39180.8888888888888888,
3919"#fdca26"
3920],
3921[
39221,
3923"#f0f921"
3924]
3925],
3926"type": "histogram2d"
3927}
3928],
3929"histogram2dcontour": [
3930{
3931"colorbar": {
3932"outlinewidth": 0,
3933"ticks": ""
3934},
3935"colorscale": [
3936[
39370,
3938"#0d0887"
3939],
3940[
39410.1111111111111111,
3942"#46039f"
3943],
3944[
39450.2222222222222222,
3946"#7201a8"
3947],
3948[
39490.3333333333333333,
3950"#9c179e"
3951],
3952[
39530.4444444444444444,
3954"#bd3786"
3955],
3956[
39570.5555555555555556,
3958"#d8576b"
3959],
3960[
39610.6666666666666666,
3962"#ed7953"
3963],
3964[
39650.7777777777777778,
3966"#fb9f3a"
3967],
3968[
39690.8888888888888888,
3970"#fdca26"
3971],
3972[
39731,
3974"#f0f921"
3975]
3976],
3977"type": "histogram2dcontour"
3978}
3979],
3980"mesh3d": [
3981{
3982"colorbar": {
3983"outlinewidth": 0,
3984"ticks": ""
3985},
3986"type": "mesh3d"
3987}
3988],
3989"parcoords": [
3990{
3991"line": {
3992"colorbar": {
3993"outlinewidth": 0,
3994"ticks": ""
3995}
3996},
3997"type": "parcoords"
3998}
3999],
4000"pie": [
4001{
4002"automargin": true,
4003"type": "pie"
4004}
4005],
4006"scatter": [
4007{
4008"marker": {
4009"colorbar": {
4010"outlinewidth": 0,
4011"ticks": ""
4012}
4013},
4014"type": "scatter"
4015}
4016],
4017"scatter3d": [
4018{
4019"line": {
4020"colorbar": {
4021"outlinewidth": 0,
4022"ticks": ""
4023}
4024},
4025"marker": {
4026"colorbar": {
4027"outlinewidth": 0,
4028"ticks": ""
4029}
4030},
4031"type": "scatter3d"
4032}
4033],
4034"scattercarpet": [
4035{
4036"marker": {
4037"colorbar": {
4038"outlinewidth": 0,
4039"ticks": ""
4040}
4041},
4042"type": "scattercarpet"
4043}
4044],
4045"scattergeo": [
4046{
4047"marker": {
4048"colorbar": {
4049"outlinewidth": 0,
4050"ticks": ""
4051}
4052},
4053"type": "scattergeo"
4054}
4055],
4056"scattergl": [
4057{
4058"marker": {
4059"colorbar": {
4060"outlinewidth": 0,
4061"ticks": ""
4062}
4063},
4064"type": "scattergl"
4065}
4066],
4067"scattermapbox": [
4068{
4069"marker": {
4070"colorbar": {
4071"outlinewidth": 0,
4072"ticks": ""
4073}
4074},
4075"type": "scattermapbox"
4076}
4077],
4078"scatterpolar": [
4079{
4080"marker": {
4081"colorbar": {
4082"outlinewidth": 0,
4083"ticks": ""
4084}
4085},
4086"type": "scatterpolar"
4087}
4088],
4089"scatterpolargl": [
4090{
4091"marker": {
4092"colorbar": {
4093"outlinewidth": 0,
4094"ticks": ""
4095}
4096},
4097"type": "scatterpolargl"
4098}
4099],
4100"scatterternary": [
4101{
4102"marker": {
4103"colorbar": {
4104"outlinewidth": 0,
4105"ticks": ""
4106}
4107},
4108"type": "scatterternary"
4109}
4110],
4111"surface": [
4112{
4113"colorbar": {
4114"outlinewidth": 0,
4115"ticks": ""
4116},
4117"colorscale": [
4118[
41190,
4120"#0d0887"
4121],
4122[
41230.1111111111111111,
4124"#46039f"
4125],
4126[
41270.2222222222222222,
4128"#7201a8"
4129],
4130[
41310.3333333333333333,
4132"#9c179e"
4133],
4134[
41350.4444444444444444,
4136"#bd3786"
4137],
4138[
41390.5555555555555556,
4140"#d8576b"
4141],
4142[
41430.6666666666666666,
4144"#ed7953"
4145],
4146[
41470.7777777777777778,
4148"#fb9f3a"
4149],
4150[
41510.8888888888888888,
4152"#fdca26"
4153],
4154[
41551,
4156"#f0f921"
4157]
4158],
4159"type": "surface"
4160}
4161],
4162"table": [
4163{
4164"cells": {
4165"fill": {
4166"color": "#EBF0F8"
4167},
4168"line": {
4169"color": "white"
4170}
4171},
4172"header": {
4173"fill": {
4174"color": "#C8D4E3"
4175},
4176"line": {
4177"color": "white"
4178}
4179},
4180"type": "table"
4181}
4182]
4183},
4184"layout": {
4185"annotationdefaults": {
4186"arrowcolor": "#2a3f5f",
4187"arrowhead": 0,
4188"arrowwidth": 1
4189},
4190"autotypenumbers": "strict",
4191"coloraxis": {
4192"colorbar": {
4193"outlinewidth": 0,
4194"ticks": ""
4195}
4196},
4197"colorscale": {
4198"diverging": [
4199[
42000,
4201"#8e0152"
4202],
4203[
42040.1,
4205"#c51b7d"
4206],
4207[
42080.2,
4209"#de77ae"
4210],
4211[
42120.3,
4213"#f1b6da"
4214],
4215[
42160.4,
4217"#fde0ef"
4218],
4219[
42200.5,
4221"#f7f7f7"
4222],
4223[
42240.6,
4225"#e6f5d0"
4226],
4227[
42280.7,
4229"#b8e186"
4230],
4231[
42320.8,
4233"#7fbc41"
4234],
4235[
42360.9,
4237"#4d9221"
4238],
4239[
42401,
4241"#276419"
4242]
4243],
4244"sequential": [
4245[
42460,
4247"#0d0887"
4248],
4249[
42500.1111111111111111,
4251"#46039f"
4252],
4253[
42540.2222222222222222,
4255"#7201a8"
4256],
4257[
42580.3333333333333333,
4259"#9c179e"
4260],
4261[
42620.4444444444444444,
4263"#bd3786"
4264],
4265[
42660.5555555555555556,
4267"#d8576b"
4268],
4269[
42700.6666666666666666,
4271"#ed7953"
4272],
4273[
42740.7777777777777778,
4275"#fb9f3a"
4276],
4277[
42780.8888888888888888,
4279"#fdca26"
4280],
4281[
42821,
4283"#f0f921"
4284]
4285],
4286"sequentialminus": [
4287[
42880,
4289"#0d0887"
4290],
4291[
42920.1111111111111111,
4293"#46039f"
4294],
4295[
42960.2222222222222222,
4297"#7201a8"
4298],
4299[
43000.3333333333333333,
4301"#9c179e"
4302],
4303[
43040.4444444444444444,
4305"#bd3786"
4306],
4307[
43080.5555555555555556,
4309"#d8576b"
4310],
4311[
43120.6666666666666666,
4313"#ed7953"
4314],
4315[
43160.7777777777777778,
4317"#fb9f3a"
4318],
4319[
43200.8888888888888888,
4321"#fdca26"
4322],
4323[
43241,
4325"#f0f921"
4326]
4327]
4328},
4329"colorway": [
4330"#636efa",
4331"#EF553B",
4332"#00cc96",
4333"#ab63fa",
4334"#FFA15A",
4335"#19d3f3",
4336"#FF6692",
4337"#B6E880",
4338"#FF97FF",
4339"#FECB52"
4340],
4341"font": {
4342"color": "#2a3f5f"
4343},
4344"geo": {
4345"bgcolor": "white",
4346"lakecolor": "white",
4347"landcolor": "#E5ECF6",
4348"showlakes": true,
4349"showland": true,
4350"subunitcolor": "white"
4351},
4352"hoverlabel": {
4353"align": "left"
4354},
4355"hovermode": "closest",
4356"mapbox": {
4357"style": "light"
4358},
4359"paper_bgcolor": "white",
4360"plot_bgcolor": "#E5ECF6",
4361"polar": {
4362"angularaxis": {
4363"gridcolor": "white",
4364"linecolor": "white",
4365"ticks": ""
4366},
4367"bgcolor": "#E5ECF6",
4368"radialaxis": {
4369"gridcolor": "white",
4370"linecolor": "white",
4371"ticks": ""
4372}
4373},
4374"scene": {
4375"xaxis": {
4376"backgroundcolor": "#E5ECF6",
4377"gridcolor": "white",
4378"gridwidth": 2,
4379"linecolor": "white",
4380"showbackground": true,
4381"ticks": "",
4382"zerolinecolor": "white"
4383},
4384"yaxis": {
4385"backgroundcolor": "#E5ECF6",
4386"gridcolor": "white",
4387"gridwidth": 2,
4388"linecolor": "white",
4389"showbackground": true,
4390"ticks": "",
4391"zerolinecolor": "white"
4392},
4393"zaxis": {
4394"backgroundcolor": "#E5ECF6",
4395"gridcolor": "white",
4396"gridwidth": 2,
4397"linecolor": "white",
4398"showbackground": true,
4399"ticks": "",
4400"zerolinecolor": "white"
4401}
4402},
4403"shapedefaults": {
4404"line": {
4405"color": "#2a3f5f"
4406}
4407},
4408"ternary": {
4409"aaxis": {
4410"gridcolor": "white",
4411"linecolor": "white",
4412"ticks": ""
4413},
4414"baxis": {
4415"gridcolor": "white",
4416"linecolor": "white",
4417"ticks": ""
4418},
4419"bgcolor": "#E5ECF6",
4420"caxis": {
4421"gridcolor": "white",
4422"linecolor": "white",
4423"ticks": ""
4424}
4425},
4426"title": {
4427"x": 0.05
4428},
4429"xaxis": {
4430"automargin": true,
4431"gridcolor": "white",
4432"linecolor": "white",
4433"ticks": "",
4434"title": {
4435"standoff": 15
4436},
4437"zerolinecolor": "white",
4438"zerolinewidth": 2
4439},
4440"yaxis": {
4441"automargin": true,
4442"gridcolor": "white",
4443"linecolor": "white",
4444"ticks": "",
4445"title": {
4446"standoff": 15
4447},
4448"zerolinecolor": "white",
4449"zerolinewidth": 2
4450}
4451}
4452},
4453"title": {
4454"text": "Процент линков на скилл от всех линков в данной версии"
4455},
4456"xaxis": {
4457"title": {
4458"text": "Skill"
4459}
4460},
4461"yaxis": {
4462"title": {
4463"text": "Percent"
4464}
4465}
4466}
4467},
4468"text/html": [
4469"<div> <div id=\"4029d2b6-ab72-41cd-a9d4-48e13ce0d37b\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"4029d2b6-ab72-41cd-a9d4-48e13ce0d37b\")) { Plotly.newPlot( \"4029d2b6-ab72-41cd-a9d4-48e13ce0d37b\", [{\"marker\": {\"color\": \"orange\"}, \"name\": \"v16.2.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0.08413461538461539, 0.14182692307692307, 0.125, 0.0, 0.03365384615384615, 0.21153846153846154, 0.07211538461538461, 0.08413461538461539, 0.06971153846153846, 0.08173076923076923, 0.09615384615384616, 0.0, 0.0]}, {\"marker\": {\"color\": \"blue\"}, \"name\": \"v16.3.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0.16666666666666666, 0.0, 0.16666666666666666, 0.0, 0.041666666666666664, 0.125, 0.25, 0.0, 0.041666666666666664, 0.041666666666666664, 0.16666666666666666, 0.0, 0.0]}, {\"marker\": {\"color\": \"violet\"}, \"name\": \"v16.4.0\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0.0, 0.038461538461538464, 0.15384615384615385, 0.0, 0.07692307692307693, 0.23076923076923078, 0.15384615384615385, 0.07692307692307693, 0.038461538461538464, 0.11538461538461539, 0.11538461538461539, 0.0, 0.0]}, {\"marker\": {\"color\": \"red\"}, \"name\": \"v16.5.1\", \"opacity\": 0.75, \"type\": \"bar\", \"x\": [\"dff_movie_skill\", \"book_skill\", \"game_cooperative_skill\", \"dff_gaming_skill\", \"dff_travel_skill\", \"dff_animals_skill\", \"dff_food_skill\", \"dff_sport_skill\", \"dff_gossip_skill\", \"dff_science_skill\", \"dff_music_skill\", \"superheroes\", \"school\"], \"y\": [0.02631578947368421, 0.07894736842105263, 0.23684210526315788, 0.0, 0.02631578947368421, 0.21052631578947367, 0.07894736842105263, 0.10526315789473684, 0.13157894736842105, 0.07894736842105263, 0.02631578947368421, 0.0, 0.0]}], {\"bargap\": 0.2, \"bargroupgap\": 0.1, \"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"autotypenumbers\": \"strict\", \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"title\": {\"text\": \"\\u041f\\u0440\\u043e\\u0446\\u0435\\u043d\\u0442 \\u043b\\u0438\\u043d\\u043a\\u043e\\u0432 \\u043d\\u0430 \\u0441\\u043a\\u0438\\u043b\\u043b \\u043e\\u0442 \\u0432\\u0441\\u0435\\u0445 \\u043b\\u0438\\u043d\\u043a\\u043e\\u0432 \\u0432 \\u0434\\u0430\\u043d\\u043d\\u043e\\u0439 \\u0432\\u0435\\u0440\\u0441\\u0438\\u0438\"}, \"xaxis\": {\"title\": {\"text\": \"Skill\"}}, \"yaxis\": {\"title\": {\"text\": \"Percent\"}}}, {\"responsive\": true} ).then(function(){\n",
4470" \n",
4471"var gd = document.getElementById('4029d2b6-ab72-41cd-a9d4-48e13ce0d37b');\n",
4472"var x = new MutationObserver(function (mutations, observer) {{\n",
4473" var display = window.getComputedStyle(gd).display;\n",
4474" if (!display || display === 'none') {{\n",
4475" console.log([gd, 'removed!']);\n",
4476" Plotly.purge(gd);\n",
4477" observer.disconnect();\n",
4478" }}\n",
4479"}});\n",
4480"\n",
4481"// Listen for the removal of the full notebook cells\n",
4482"var notebookContainer = gd.closest('#notebook-container');\n",
4483"if (notebookContainer) {{\n",
4484" x.observe(notebookContainer, {childList: true});\n",
4485"}}\n",
4486"\n",
4487"// Listen for the clearing of the current output cell\n",
4488"var outputEl = gd.closest('.output');\n",
4489"if (outputEl) {{\n",
4490" x.observe(outputEl, {childList: true});\n",
4491"}}\n",
4492"\n",
4493" }) }; }); </script> </div>"
4494]
4495},
4496"metadata": {},
4497"output_type": "display_data"
4498}
4499],
4500"source": [
4501"fig = go.Figure()\n",
4502"\n",
4503"for version in support_topic_count.keys():\n",
4504" \n",
4505" x0, y0 = [], []\n",
4506" \n",
4507" total = sum([support_topic_count[version][skill][\"yes\"] + support_topic_count[version][skill][\"no\"] \n",
4508" for skill in support_topic_count[version].keys()])\n",
4509" \n",
4510" for skill in support_topic_count[version].keys():\n",
4511" x0.append(skill)\n",
4512" y0.append((support_topic_count[version][skill][\"yes\"] + support_topic_count[version][skill][\"no\"]) / total)\n",
4513" \n",
4514" fig.add_trace(go.Bar(\n",
4515" x=x0,\n",
4516" y=y0,\n",
4517" name=version, \n",
4518" marker_color=colour_dict[version],\n",
4519" opacity=0.75\n",
4520" ))\n",
4521"\n",
4522"fig.update_layout(\n",
4523" title_text='Процент линков на скилл от всех линков в данной версии',\n",
4524" xaxis_title_text='Skill',\n",
4525" yaxis_title_text='Percent', \n",
4526" bargap=0.2,\n",
4527" bargroupgap=0.1 \n",
4528")\n",
4529"\n",
4530"fig.show()"
4531]
4532}
4533],
4534"metadata": {
4535"kernelspec": {
4536"display_name": "Python 3",
4537"language": "python",
4538"name": "python3"
4539},
4540"language_info": {
4541"codemirror_mode": {
4542"name": "ipython",
4543"version": 3
4544},
4545"file_extension": ".py",
4546"mimetype": "text/x-python",
4547"name": "python",
4548"nbconvert_exporter": "python",
4549"pygments_lexer": "ipython3",
4550"version": "3.8.4"
4551}
4552},
4553"nbformat": 4,
4554"nbformat_minor": 5
4555}
4556