{"cells":[{"cell_type":"markdown","source":["# Import Packages\n"],"metadata":{"id":"aUpT5dNsWm42"}},{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":32276,"status":"ok","timestamp":1703061225405,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"W3lZ459Kq9SZ","outputId":"6ef28bfb-cdc2-49db-d69d-9edc8a5bffb4"},"outputs":[{"output_type":"stream","name":"stdout","text":["Collecting kaleido\n","  Downloading kaleido-0.2.1-py2.py3-none-manylinux1_x86_64.whl (79.9 MB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.9/79.9 MB\u001b[0m \u001b[31m8.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hInstalling collected packages: kaleido\n","\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n","lida 0.0.10 requires fastapi, which is not installed.\n","lida 0.0.10 requires python-multipart, which is not installed.\n","lida 0.0.10 requires uvicorn, which is not installed.\u001b[0m\u001b[31m\n","\u001b[0mSuccessfully installed kaleido-0.2.1\n"]}],"source":["%pip install -U kaleido"]},{"cell_type":"code","execution_count":2,"metadata":{"id":"OnxNBILOSWU0","executionInfo":{"status":"ok","timestamp":1703061229157,"user_tz":-60,"elapsed":3760,"user":{"displayName":"M. V.","userId":"14299655237261780537"}}},"outputs":[],"source":["#Import requiered Packages\n","\n","#Python Versio 3.8.5.\n","import numpy as np # version 1.24.4\n","import pandas as pd  # version 2.0.3\n","import matplotlib.pyplot as plt # version 3.6.0\n","import array\n","import math\n","import os\n","import kaleido\n","import glob\n","import plotly.express as px # version 5.10.0\n","from plotly.subplots import make_subplots\n","import plotly.graph_objects as go\n","import textwrap\n","import itertools as it\n","import statsmodels # version 0.13.5\n","import statsmodels.formula.api as smf\n","import statsmodels.api as sm\n","from statsmodels.formula.api import ols\n","from sklearn.linear_model import LinearRegression\n","import scipy.stats as stats\n","from statsmodels.stats.multicomp import pairwise_tukeyhsd\n","from scipy.stats import mannwhitneyu\n","from scipy.stats import spearmanr"]},{"cell_type":"code","execution_count":6,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":2253,"status":"ok","timestamp":1703061966156,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"bIEqKRGVTUNw","outputId":"75c3ba17-d04e-4054-848a-44a3fb6f05df"},"outputs":[{"output_type":"stream","name":"stdout","text":["Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n"]}],"source":["#Import of Data\n","from google.colab import drive\n","drive.mount('/content/drive')\n","df = pd.read_csv(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/LCWissDD-df_vereinfacht_short.csv\")"]},{"cell_type":"code","execution_count":7,"metadata":{"id":"2FI5QwhKSWU2","executionInfo":{"status":"ok","timestamp":1703061968640,"user_tz":-60,"elapsed":252,"user":{"displayName":"M. V.","userId":"14299655237261780537"}}},"outputs":[],"source":["#split data in groups for every Academic Year!\n","df1 = df.loc[df['Fachsemester'].isin([1,2])]\n","df2 = df.loc[df['Fachsemester'].isin([3,4])]\n","df3 = df.loc[df['Fachsemester'].isin([5,6])]\n","df4 = df.loc[df['Fachsemester'].isin([7,8])]\n","df5 = df.loc[df['Fachsemester'].isin([9,10])]\n"]},{"cell_type":"markdown","metadata":{"id":"T5l6T7r8SWU2"},"source":["# Plotting figures\n","----------------\n","\n"]},{"cell_type":"markdown","source":["## Figure 1 - Relevance 5AY"],"metadata":{"id":"6xVGb5l5XVuB"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":617},"executionInfo":{"elapsed":971,"status":"ok","timestamp":1700772869644,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"oM6eatdhSWU3","outputId":"8704936e-7589-4a57-b6ad-ca2db6b46a40"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"7cebf0ff-0850-4bed-a692-9a193646f612\" class=\"plotly-graph-div\" style=\"height:600px; width:1000px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"7cebf0ff-0850-4bed-a692-9a193646f612\")) {                    Plotly.newPlot(                        \"7cebf0ff-0850-4bed-a692-9a193646f612\",                        [{\"legendrank\":6,\"marker\":{\"color\":\"#03425c\",\"line\":{\"width\":1}},\"name\":\"daily\",\"orientation\":\"h\",\"text\":[\"49.7\",\"15.0\",\"6.9\",\"1.7\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[49.71098265895954,15.028901734104046,6.9364161849710975,1.7341040462427744],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"},{\"legendrank\":5,\"marker\":{\"color\":\"#004F70 \",\"line\":{\"width\":1}},\"name\":\"weekly\",\"orientation\":\"h\",\"text\":[\"25.4\",\"16.8\",\"42.8\",\"8.1\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[25.43352601156069,16.76300578034682,42.77456647398844,8.092485549132949],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"},{\"legendrank\":4,\"marker\":{\"color\":\"#006AB3\",\"line\":{\"width\":1}},\"name\":\"monthly\",\"orientation\":\"h\",\"text\":[\"13.9\",\"30.1\",\"34.1\",\"12.7\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[13.872832369942195,30.057803468208093,34.104046242774565,12.716763005780345],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"},{\"legendrank\":3,\"marker\":{\"color\":\"#38AEFF\",\"line\":{\"width\":1}},\"name\":\"rarely\",\"orientation\":\"h\",\"text\":[\"8.7\",\"25.4\",\"12.1\",\"57.8\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[8.670520231213873,25.43352601156069,12.138728323699421,57.80346820809249],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"},{\"legendrank\":2,\"marker\":{\"color\":\"#7BC9FF \",\"line\":{\"width\":1}},\"name\":\"never\",\"orientation\":\"h\",\"text\":[\"0.6\",\"3.5\",\"0.6\",\"14.5\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[0.5780346820809248,3.4682080924855487,0.5780346820809248,14.450867052023122],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"},{\"legendrank\":1,\"marker\":{\"color\":\"#BDE4FF \",\"line\":{\"width\":1}},\"name\":\"no statement possible\",\"orientation\":\"h\",\"text\":[\"1.7\",\"9.2\",\"3.5\",\"5.2\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[1.7341040462427744,9.248554913294797,3.4682080924855487,5.202312138728324],\"y\":[\"explain scientific findings\\u003cbr\\u003e(on diagnostics, therapy, etc.)\\u003cbr\\u003e to patients\",\"comprehend evidence\\u003cbr\\u003e of a guideline\",\"work with scientific literature\",\"work on a research project\"],\"type\":\"bar\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"yaxis\":{\"title\":{\"text\":\"Statement\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":14}},\"xaxis\":{\"title\":{\"text\":\"% of participants\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16},\"tickmode\":\"linear\",\"dtick\":10,\"range\":[0,100]},\"title\":{\"text\":\"How often does the 5th year student expect in the later profession to ...\",\"x\":0.5},\"shapes\":[{\"line\":{\"color\":\"black\",\"dash\":\"dash\",\"width\":1.5},\"type\":\"line\",\"x0\":50,\"x1\":50,\"y0\":-0.5,\"y1\":3.5}],\"barmode\":\"stack\",\"legend\":{\"title\":{\"text\":\"\"}},\"height\":600,\"width\":1000},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('7cebf0ff-0850-4bed-a692-9a193646f612');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#horizontal StackedBarplot für Berufserwartung 5.Studienjahr\n","\n","#Berechnen der relativen Antworten für E030 - Items (1=working with lit, 2=work on research project ,3=comprehend guideline ,4=explaining)\n","show1 = df5[\"ErwartungLiteratur\"].value_counts(normalize=True, dropna=False) * 100\n","show2 = df5[\"ErwartungForschungsprojk\"].value_counts(normalize=True, dropna=False) * 100\n","show4 = df5[\"ErwartungEvidenzNachvoll\"].value_counts(normalize=True, dropna=False) * 100\n","show8 = df5[\"ErwartungPatientenErkl\"].value_counts(normalize=True, dropna=False) * 100\n","showUlt = pd.concat([show8, show4, show1, show2], axis=1)\n","showUlt = showUlt.transpose()\n","\n","#Umbenennen der Abgefragte Items ins english\n","husten = ['explain scientific findings<br>(on diagnostics, therapy, etc.)<br> to patients','comprehend evidence<br> of a guideline',\n","           'work with scientific literature','work on a research project',]\n","\n","#Auftragen jeder Antwortmöglichkeit für jedes Studienjahr\n","fig = go.Figure()\n","fig.add_trace(go.Bar(x=showUlt[4], name=\"daily\", y=husten, orientation='h',\n","                     text=showUlt[4].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=6,\n","                     marker=dict(line=dict(width=1), color=\"#03425c\")))\n","fig.add_trace(go.Bar(x=showUlt[3.0], name=\"weekly\", y=husten, orientation='h',\n","                     text=showUlt[3].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=5,\n","                     marker=dict(line=dict(width=1), color=\"#004F70 \")))\n","fig.add_trace(go.Bar(x=showUlt[2.0], name=\"monthly\", y=husten, orientation='h',\n","                     text=showUlt[2].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=4,\n","                     marker=dict(line=dict(width=1), color=\"#006AB3\")))\n","fig.add_trace(go.Bar(x=showUlt[1.0], name=\"rarely\", y=husten, orientation='h',\n","                     text=showUlt[1].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=3,\n","                     marker=dict(line=dict(width=1), color=\"#38AEFF\")))\n","fig.add_trace(go.Bar(x=showUlt[0.0], name=\"never\", y=husten, orientation='h',\n","                     text=showUlt[0].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=2,\n","                     marker=dict(line=dict(width=1), color=\"#7BC9FF \")))\n","fig.add_trace(go.Bar(x=showUlt[np.nan], name=\"no statement possible\", y=husten, orientation='h',\n","                     text=showUlt[np.nan].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\",\n","                     textangle=270, legendrank=1,\n","                     marker=dict(line=dict(width=1), color=\"#BDE4FF \")))\n","\n","fig.update_layout(shapes=[\n","    dict(\n","        type='line',\n","        x0=50,\n","        y0=-0.5,\n","        x1=50,\n","        y1=len(husten)-0.5,\n","        line=dict(\n","            color='black',\n","            width=1.5,\n","            dash='dash'\n","        )\n","    )\n","],\n","barmode='stack', template=\"simple_white\",\n","                  title=\"How often does the 5th year student expect in the later profession to ...\",\n","                  yaxis=dict(title=\"Statement\", title_font=dict( size=18,),tickfont=dict(size=14,),),\n","                  xaxis=dict(title=\"% of participants\", tickmode='linear', dtick=10, range=[0, 100], title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  legend=dict(title=\"\"),\n","                  height=600, width=1000,\n","                  title_x=0.5,)\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E030_SQ001.svg\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E030_SQ001.png\")\n","\n"]},{"cell_type":"markdown","source":["## Figure 2 - Satisfaction"],"metadata":{"id":"rYI7DtTxXbZD"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":617},"executionInfo":{"elapsed":1477,"status":"ok","timestamp":1700772859913,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"o8aWj3yTSWU5","outputId":"31f2e379-c3a3-4dcb-9e98-c1b73e7be89a"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"637062b0-55b7-4d96-9525-80a558c77499\" class=\"plotly-graph-div\" style=\"height:600px; width:1000px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"637062b0-55b7-4d96-9525-80a558c77499\")) {                    Plotly.newPlot(                        \"637062b0-55b7-4d96-9525-80a558c77499\",                        [{\"legendrank\":6,\"marker\":{\"color\":\"#03425c\",\"line\":{\"width\":1}},\"name\":\"1 - fully agree\",\"orientation\":\"h\",\"text\":[\"2.9\",\"3.1\",\"3.2\",\"3.4\",\"1.9\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[2.8901734104046244,3.125,3.1963470319634704,3.4482758620689653,1.8604651162790697],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":5,\"marker\":{\"color\":\"#004F70\",\"line\":{\"width\":1}},\"name\":\"2 - rather agree\",\"orientation\":\"h\",\"text\":[\"13.9\",\"15.0\",\"16.4\",\"21.8\",\"13.0\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[13.872832369942195,15.0,16.43835616438356,21.839080459770116,13.023255813953488],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":4,\"marker\":{\"color\":\"#006AB3\",\"line\":{\"width\":1}},\"name\":\"3 - partially\",\"orientation\":\"h\",\"text\":[\"29.5\",\"24.4\",\"29.7\",\"29.9\",\"16.3\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[29.47976878612717,24.375,29.68036529680365,29.88505747126437,16.27906976744186],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":3,\"marker\":{\"color\":\"#38AEFF\",\"line\":{\"width\":1}},\"name\":\"4 - rather disagree\",\"orientation\":\"h\",\"text\":[\"39.9\",\"39.4\",\"27.4\",\"24.1\",\"2.3\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[39.884393063583815,39.375,27.397260273972602,24.137931034482758,2.3255813953488373],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":2,\"marker\":{\"color\":\"#7BC9FF\",\"line\":{\"width\":1}},\"name\":\"5 - completely disagree\",\"orientation\":\"h\",\"text\":[\"12.7\",\"14.4\",\"4.1\",\"3.4\",\"0.9\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[12.716763005780345,14.374999999999998,4.10958904109589,3.4482758620689653,0.9302325581395349],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":1,\"marker\":{\"color\":\"#BDE4FF \",\"line\":{\"width\":1}},\"name\":\"no statement possible\",\"orientation\":\"h\",\"text\":[\"1.2\",\"3.8\",\"19.2\",\"17.2\",\"65.6\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[1.1560693641618496,3.75,19.17808219178082,17.24137931034483,65.58139534883722],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"yaxis\":{\"title\":{\"text\":\"Academic year\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16}},\"xaxis\":{\"title\":{\"text\":\"% of participants\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16},\"tickmode\":\"linear\",\"dtick\":10,\"range\":[0,100]},\"title\":{\"text\":\"Statement: I am satisfied with the teaching of science skills at my faculty.\",\"x\":0.5},\"shapes\":[{\"line\":{\"color\":\"black\",\"dash\":\"dash\",\"width\":1.5},\"type\":\"line\",\"x0\":50,\"x1\":50,\"y0\":-0.5,\"y1\":4.5}],\"barmode\":\"stack\",\"legend\":{\"title\":{\"text\":\"\"}},\"height\":600,\"width\":1000},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('637062b0-55b7-4d96-9525-80a558c77499');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#Aussagen: Ich bin zufrieden mit W.Curriculum an meiner Fakultät für alle Jahrgänge - horizontal stacked Barplot\n","show1 = df5[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","show2 = df4[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","show3 = df3[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","show4 = df2[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","show5 = df1[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","showUlt = pd.concat([show1, show2, show3, show4, show5], axis=1)\n","showUlt =showUlt.transpose()\n","husten=['5','4', '3', '2', '1' ]\n","\n","\n","fig = go.Figure()\n","fig.add_trace(go.Bar(x=showUlt[5], name=\"1 - fully agree\", y=husten, orientation='h',\n","                     text=showUlt[5].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=6,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#03425c\")))\n","fig.add_trace(go.Bar(x=showUlt[4], name=\"2 - rather agree\", y=husten, orientation='h',\n","                     text=showUlt[4].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=5,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#004F70\")))\n","fig.add_trace(go.Bar(x=showUlt[3], name=\"3 - partially\", y=husten, orientation='h',\n","                     text=showUlt[3].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=4,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#006AB3\")))\n","fig.add_trace(go.Bar(x=showUlt[2], name=\"4 - rather disagree\", y=husten, orientation='h',\n","                     text=showUlt[2].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=3,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#38AEFF\")))\n","fig.add_trace(go.Bar(x=showUlt[1], name=\"5 - completely disagree\", y=husten, orientation='h',\n","                     text=showUlt[1].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=2,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#7BC9FF\")))\n","fig.add_trace(go.Bar(x=showUlt[0], name=\"no statement possible\", y=husten, orientation='h',\n","                     text=showUlt[0].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=1,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#BDE4FF \")))\n","\n","fig.update_layout(shapes=[\n","    dict(\n","        type='line',\n","        x0=50,\n","        y0=-0.5,\n","        x1=50,\n","        y1=len(husten)-0.5,\n","        line=dict(\n","            color='black',\n","            width=1.5,\n","            dash='dash'\n","        )\n","    )\n","],barmode='stack', template=\"simple_white\",\n","                  title=\"Statement: I am satisfied with the teaching of science skills at my faculty.\",\n","                  yaxis=dict(title=\"Academic year\", title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  xaxis=dict(title=\"% of participants\", tickmode='linear', dtick=10, range=[0, 100], title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  legend=dict(title=\"\"),\n","                  height=600, width=1000,\n","                  title_x=0.5,)\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ002.svg\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ002.png\")"]},{"cell_type":"markdown","source":["## Figure 3 - science-Curriculum"],"metadata":{"id":"90SpQzNnXmZ7"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":617},"executionInfo":{"elapsed":1192,"status":"ok","timestamp":1700772881181,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"Io2CwokkSWU5","outputId":"5fe45366-e632-4a78-e123-db3add0d7a73"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"c99f6c50-ef71-4d04-98ed-3f4d394223b6\" class=\"plotly-graph-div\" style=\"height:600px; width:1000px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"c99f6c50-ef71-4d04-98ed-3f4d394223b6\")) {                    Plotly.newPlot(                        \"c99f6c50-ef71-4d04-98ed-3f4d394223b6\",                        [{\"legendrank\":6,\"marker\":{\"color\":\"#03425c\",\"line\":{\"width\":1}},\"name\":\"1 - fully agree\",\"orientation\":\"h\",\"text\":[\"24.9\",\"23.1\",\"23.3\",\"32.2\",\"29.3\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[24.85549132947977,23.125,23.28767123287671,32.18390804597701,29.30232558139535],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":5,\"marker\":{\"color\":\"#004F70\",\"line\":{\"width\":1}},\"name\":\"2 - rather agree\",\"orientation\":\"h\",\"text\":[\"33.5\",\"32.5\",\"36.1\",\"26.4\",\"44.2\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[33.52601156069364,32.5,36.07305936073059,26.436781609195403,44.18604651162791],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":4,\"marker\":{\"color\":\"#006AB3\",\"line\":{\"width\":1}},\"name\":\"3 - partly\\u002fpartly\",\"orientation\":\"h\",\"text\":[\"24.3\",\"23.8\",\"23.7\",\"24.1\",\"20.9\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[24.277456647398843,23.75,23.74429223744292,24.137931034482758,20.930232558139537],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":3,\"marker\":{\"color\":\"#38AEFF\",\"line\":{\"width\":1}},\"name\":\"4 - rather disagree\",\"orientation\":\"h\",\"text\":[\"9.8\",\"13.8\",\"12.8\",\"14.9\",\"3.7\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[9.826589595375722,13.750000000000002,12.785388127853881,14.942528735632186,3.7209302325581395],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":2,\"marker\":{\"color\":\"#7BC9FF\",\"line\":{\"width\":1}},\"name\":\"5 - completely disagree\",\"orientation\":\"h\",\"text\":[\"6.9\",\"6.9\",\"2.7\",\"2.3\",\"1.4\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[6.9364161849710975,6.875000000000001,2.73972602739726,2.2988505747126435,1.3953488372093024],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"},{\"legendrank\":1,\"marker\":{\"color\":\"#BDE4FF \",\"line\":{\"width\":1}},\"name\":\"no statement possible\",\"orientation\":\"h\",\"text\":[\"0.6\",\"nan\",\"1.4\",\"nan\",\"0.5\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[0.5780346820809248,null,1.36986301369863,null,0.46511627906976744],\"y\":[\"5\",\"4\",\"3\",\"2\",\"1\"],\"type\":\"bar\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"yaxis\":{\"title\":{\"text\":\"Academic year\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16}},\"xaxis\":{\"title\":{\"text\":\"% of participants\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16},\"tickmode\":\"linear\",\"dtick\":10,\"range\":[0,100]},\"title\":{\"text\":\"Statement: I would like to have scientific work included in the compulsory curriculum.\",\"x\":0.5},\"shapes\":[{\"line\":{\"color\":\"black\",\"dash\":\"dash\",\"width\":1.5},\"type\":\"line\",\"x0\":50,\"x1\":50,\"y0\":-0.5,\"y1\":4.5}],\"barmode\":\"stack\",\"legend\":{\"title\":{\"text\":\"\"}},\"height\":600,\"width\":1000},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('c99f6c50-ef71-4d04-98ed-3f4d394223b6');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#Aussagen: Ich möchte wiss.Arbeiten im Pflichtcurriculum vermittelt bekommen für alle Jahrgänge - horizontal stacked Barplot\n","show1 = df5[\"VermittlungWikomp\"].value_counts(normalize=True) * 100\n","show1 = df5[\"wiArbeitenPflichtcurr\"].value_counts(normalize=True) * 100\n","show2 = df4[\"wiArbeitenPflichtcurr\"].value_counts(normalize=True) * 100\n","show3 = df3[\"wiArbeitenPflichtcurr\"].value_counts(normalize=True) * 100\n","show4 = df2[\"wiArbeitenPflichtcurr\"].value_counts(normalize=True) * 100\n","show5 = df1[\"wiArbeitenPflichtcurr\"].value_counts(normalize=True) * 100\n","showUlt = pd.concat([show1, show2, show3, show4, show5], axis=1)\n","showUlt =showUlt.transpose()\n","husten=['5','4', '3', '2', '1' ]\n","\n","\n","fig = go.Figure()\n","fig.add_trace(go.Bar(x=showUlt[5], name=\"1 - fully agree\", y=husten, orientation='h',\n","                     text=showUlt[5].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=6,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#03425c\")))\n","fig.add_trace(go.Bar(x=showUlt[4], name=\"2 - rather agree\", y=husten, orientation='h',\n","                     text=showUlt[4].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=5,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#004F70\")))\n","fig.add_trace(go.Bar(x=showUlt[3], name=\"3 - partly/partly\", y=husten, orientation='h',\n","                     text=showUlt[3].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=4,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#006AB3\")))\n","fig.add_trace(go.Bar(x=showUlt[2], name=\"4 - rather disagree\", y=husten, orientation='h',\n","                     text=showUlt[2].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=3,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#38AEFF\")))\n","fig.add_trace(go.Bar(x=showUlt[1], name=\"5 - completely disagree\", y=husten, orientation='h',\n","                     text=showUlt[1].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=2,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#7BC9FF\")))\n","fig.add_trace(go.Bar(x=showUlt[0], name=\"no statement possible\", y=husten, orientation='h',\n","                     text=showUlt[0].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=1,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#BDE4FF \")))\n","\n","fig.update_layout(shapes=[\n","    dict(\n","        type='line',\n","        x0=50,\n","        y0=-0.5,\n","        x1=50,\n","        y1=len(husten)-0.5,\n","        line=dict(\n","            color='black',\n","            width=1.5,\n","            dash='dash'\n","        )\n","    )\n","], barmode='stack', template=\"simple_white\",\n","                  title=\"Statement: I would like to have scientific work included in the compulsory curriculum.\",\n","                  yaxis=dict(title=\"Academic year\", title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  xaxis=dict(title=\"% of participants\", tickmode='linear', dtick=10, range=[0, 100],title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  legend=dict(title=\"\"),\n","                  height=600, width=1000,\n","                  title_x=0.5,)\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ001.png\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ001.svg\")"]},{"cell_type":"markdown","source":["## Figure 4 - Doctorade - Influcence"],"metadata":{"id":"Hhn-sjv8XvAI"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":817},"executionInfo":{"elapsed":3787,"status":"ok","timestamp":1699020899789,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"iZjT-JKUSWU6","outputId":"5e7d64d2-d2e0-47d4-ff66-36b396f69e87"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"4691572e-de98-4fb9-9433-4cf9a2c48698\" class=\"plotly-graph-div\" style=\"height:800px; width:1000px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"4691572e-de98-4fb9-9433-4cf9a2c48698\")) {                    Plotly.newPlot(                        \"4691572e-de98-4fb9-9433-4cf9a2c48698\",                        [{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#1245ff\"},\"name\":\"Student without started doctorate\",\"opacity\":0.5,\"showlegend\":true,\"x\":[2,1,3,9,3,2,5,1,1,1,3,1,2,2,5,1,1,1,3,1,1,7,3,1,4,2,4,2,6,2,10,1,7,4,10,5,1,7,2,1,8,3,1,8,8,5,1,4,3,4,1,3,3,1,1,3,7,3,4,1,9,10,2,5,3,10,1,1,4,1,5,3,2,4,1,1,2,2,6,1,2,10,6,3,4,1,7,3,4,3,3,3,8,1,1,9,6,3,3,2,4,2,3,7,3,3,1,2,2,4,1,4,1,2,1,5,2,7,2,1,8,1,2,1,5,7,1,3,9,4,8,2,5,6,5,2,1,8,3,5,1,3,6,3,5,3,7,3,5,1,1,1,4,2,3,1,5,1,1,3,4,8,5,7,3,3,3,6,3,4,5,7,1,2,1,1,1,6,3,3,1,4,8,1,3,1,6,1,5,1,7,7,3,2,3,8,2,1,4,9,1,3,1,1,5,6,6,3,1,5,6,10,1,4,4,1,5,6,4,2,5,3,1,5,3,9,1,3,1,2,4,5,7,1,1,1,1,2,1,2,1,1,4,1,1,2,3,1,1,1,1,1,3,3,3,2,6,2,3,1,3,1,5,1,1,8,1,1,1,7,1,1,1,1,2,3,1,2,5,3,1,4,1,3,1,1,1,9,1,1,1,1,1,1,3,2,3,4,1,1,3,4,1,2,2,2,1,3,2,7,5,2,1,3,3,5,1,1,7,1,3,1,1,1,1,1,3,2,1,2,1,1,9,1,3,2,8,7,4,7,8,1,2,3,1,5,5,1,2,4,1,1,2,1,7,1,4,2,1,3,8,2,3,1,10,2,5,2,8,3,5,8,1,7,8,5,5,4,8,7,5,3,10,4,1,1,4,4,3,2,1,1,1,3,1,1,1,3,3,2,3,3,3,4,1,2,1,3,3,1,3,3,5,6,4,1,1,1,1,7,3,3,3,7,2,1,1,1,1,4,8,1,3,1,5,1,1,2,4,3,5,3,3,1,5,1,3,1,1,5,3,3,5,4,1,4,5,3,3,5,2,3,2,6,2,5,3,2,2,2,3,4,2,3,3,5,3,1,7,5,3,1,4,3,3,2,3,2,1,1,3,1,2,1,2,1,5,2,3,3,1,3,2,6,2,2,5,7,7,8,1,1,1,1,4,7,8,3,1,1,3,1,2,2,1,1,2,2,4,5,8,1,5,1,6,1,1,1,1,3,1,6,4,5,5,4,3,4,5,5,8,6,1,6,1,1,5,3,3,1,2,1,6,7,4,1,3,5,5,1,8,5,2,6,5,2,3,1,4,1,1,1,3,1,3,6,5,5,5,3,2,3,1,1,2,1,3,3,2,4,1,3,1,1,1,1,2,1,2,1,3,1,1,3,2,2,3,1,4,1,3,2,1,8,6,1,4,5,5,5,8,5,1,2,3,1,6,2,8,7,7,4,4,1,2,1,4,3,5,5,1,1,3,1,3,1,6,1,2,1,6,1,2,1,1],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#bf8704\"},\"name\":\"Student with started doctorate\",\"opacity\":0.5,\"showlegend\":true,\"x\":[1,1,1,1,7,3,3,8,1,1,5,4,2,1,8,1,5,6,5,3,7,3,4,5,3,2,1,1,1,2,1,10,4,3,3,3,2,1,3,7,1,3,3,5,1,1,1,8,1,4,7,1,7,1,2,1,1,3,1,8,1,3,8,1,10,10,1,1,3,1,5,6,1,5,1,8,2,2,4,1,8,1,1,3,5,1,3,5,1,1,6,5,1,8,7,2,6,1,5,3,10,1,1,7,2,3,6,1,2,1,4,3,2,5,7,2,5,7,3,1,4,3,7,3,1,7,6,1,2,2,1,5,5,1,10,2,5,7,8,3,3,1,2,6,4,1,3,8,6,10,2,2,3,1,8,1,4,7,1,6,3,1,5,1,7,2,1,8,2,7,5,1,2,1,10,2,2,3,2,9,3,6,5,8,7,8,1,1,6,4,5],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#1245ff\"},\"name\":\"Student without started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[10,7,9,9,7,7,7,4,7,5,7,8,8,10,7,8,7,10,7,9,8,8,8,5,7,7,7,9,4,7,10,9,9,9,7,10,8,10,2,5,10,10,5,8,10,10,5,8,8,9,8,7,7,3,6,7,8,8,8,10,6,10,7,8,7,10,5,8,6,8,8,8,7,1,7,10,9,9,9,9,8,10,8,7,8,10,9,4,8,5,5,5,7,4,10,9,10,8,8,7,9,8,7,9,10,8,5,9,6,8,5,9,7,6,6,7,7,8,5,9,3,7,8,5,8,7,7,5,10,10,10,8,7,9,7,9,6,6,8,10,9,9,5,10,8,6,9,10,8,10,8,6,6,7,9,5,9,8,10,9,8,9,7,9,9,7,7,8,10,8,7,9,6,10,5,7,8,6,7,8,8,9,8,9,9,7,10,8,9,9,10,8,7,4,8,10,8,9,8,2,5,8,10,8,10,9,6,9,9,7,9,8,10,8,8,4,8,9,10,8,5,7,5,7,6,9,5,5,4,8,8,9,4,9,7,6,7,3,7,9,5,5,8,8,8,8,10,6,5,2,7,5,10,8,8,7,6,6,5,10,5,5,10,8,3,6,7,7,5,3,8,10,10,3,8,5,3,8,5,6,6,5,5,10,8,3,6,6,4,7,10,7,6,6,6,6,5,2,7,10,8,8,10,6,3,7,8,8,5,9,8,7,7,8,8,8,4,8,7,5,7,5,5,2,8,5,7,4,8,6,8,6,6,8,6,6,8,7,6,7,6,8,7,10,7,5,7,7,5,6,5,7,8,6,6,6,7,7,7,7,8,2,4,10,1,9,8,4,10,7,8,7,5,7,7,10,8,5,8,10,8,10,10,8,7,8,7,10,8,4,6,4,1,8,9,5,8,5,8,10,8,7,4,7,4,2,9,8,4,6,10,5,9,9,9,8,3,8,9,7,8,6,7,10,7,9,8,6,4,8,10,2,8,10,10,5,9,8,8,9,8,8,8,8,8,6,10,10,10,8,7,5,7,8,7,9,8,8,7,8,6,8,10,5,8,7,3,7,8,7,8,9,8,10,9,10,5,6,9,8,4,10,9,5,7,2,8,1,8,6,9,5,7,1,8,8,7,7,5,6,5,9,5,10,1,6,9,8,4,5,1,7,6,10,9,1,9,10,8,8,8,5,8,8,10,10,8,10,9,6,8,7,7,8,10,5,6,8,5,5,3,8,8,10,10,8,8,8,8,8,9,9,10,5,10,6,7,7,8,2,9,7,7,5,7,10,10,6,6,6,8,8,6,10,6,7,8,5,8,8,5,3,10,5,8,9,4,7,10,8,7,8,10,6,7,8,6,8,7,9,8,7,10,5,7,9,3,8,10,10,7,9,8,9,7,5,8,7,8,7,8,8,9,9,9,8,9,8,8,8,8,9,5,8,8,7,10,8,10,9,7,9,8,2,2,5,6,8,9,8,5,8,8,5,7,5,6,7,7,10,4,10,5,6,5],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x2\",\"yaxis\":\"y2\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#bf8704\"},\"name\":\"Student with started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[10,5,8,1,9,7,5,5,4,7,7,4,7,7,6,7,5,7,9,7,7,5,8,9,5,7,6,5,4,8,1,3,5,7,4,7,10,9,7,9,3,2,8,3,4,7,10,9,5,6,8,5,5,5,9,6,8,8,7,5,4,5,9,1,6,8,10,9,6,5,5,3,5,9,10,5,10,7,4,7,7,5,6,4,5,5,8,5,10,6,7,8,7,9,9,5,9,7,1,7,8,8,10,9,7,10,7,8,5,3,5,4,9,9,7,8,10,6,7,3,7,10,3,2,6,3,9,10,8,5,3,7,7,6,8,6,9,7,5,2,8,7,8,9,5,7,7,10,4,5,8,8,1,10,1,7,9,9,8,5,9,8,7,10,5,4,3,5,7,5,8,4,9,5,1,8,8,5,5,7,9,9,8,6,1,5,10,2,10,8,10],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x2\",\"yaxis\":\"y2\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#1245ff\"},\"name\":\"Student without started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[8,6,8,7,7,5,7,4,2,4,5,6,4,7,7,6,5,7,4,3,5,7,7,10,7,4,9,9,3,5,9,4,5,9,5,10,7,10,7,5,10,8,6,9,10,10,3,7,7,5,6,5,5,3,6,7,3,7,7,10,6,10,5,8,8,10,5,6,4,9,8,5,8,1,6,8,8,8,5,3,5,10,9,7,6,5,8,3,8,7,5,7,7,5,10,9,10,8,5,5,8,8,5,8,10,5,1,7,6,5,1,6,7,5,7,6,3,3,3,10,2,1,7,4,8,1,6,5,10,10,9,7,7,8,2,6,8,4,5,10,6,8,4,7,7,8,8,10,10,8,10,1,3,7,7,3,10,5,6,8,9,8,8,8,7,2,7,8,9,8,5,10,3,8,5,7,8,7,7,8,7,8,9,6,8,6,10,10,7,7,8,4,8,3,8,8,7,7,10,1,8,9,8,6,9,9,6,9,7,7,7,4,7,4,5,6,7,8,8,6,1,5,2,6,2,9,5,6,4,3,8,3,1,8,7,3,7,2,8,6,5,6,1,5,7,7,3,1,1,1,3,3,7,6,5,7,5,5,6,8,5,1,9,2,1,7,7,4,1,7,6,7,5,8,8,3,3,7,7,9,5,5,4,10,7,2,1,7,3,6,10,4,6,6,6,6,3,1,5,10,7,8,3,7,1,2,5,5,2,8,6,2,1,8,9,6,4,9,4,5,8,1,3,2,5,1,5,2,6,5,8,4,6,8,1,5,1,7,5,8,3,6,6,7,6,3,7,4,5,1,1,7,8,8,3,4,5,3,3,2,7,2,4,6,6,7,8,2,9,5,8,6,5,6,8,10,5,4,1,6,7,4,8,9,7,5,5,10,4,1,5,2,3,8,8,4,8,4,7,6,5,8,4,7,3,1,8,8,4,2,8,3,8,8,9,5,1,8,7,5,6,6,4,10,6,3,7,3,3,9,8,1,7,9,8,4,9,8,7,9,5,9,5,8,8,3,10,6,5,8,7,2,4,8,7,7,7,7,6,8,6,8,9,4,8,4,5,3,7,6,6,5,5,10,6,6,2,5,5,7,3,5,9,5,5,2,8,2,6,3,7,3,8,4,7,6,7,6,2,6,6,8,6,9,2,5,9,6,3,5,5,10,5,8,9,1,7,10,7,9,6,5,5,6,5,9,7,10,8,6,8,3,6,7,7,1,6,6,1,1,1,9,6,6,7,7,6,9,7,6,10,3,8,4,7,5,6,2,2,2,2,3,8,3,2,5,5,4,7,3,5,8,5,10,4,7,5,2,8,10,3,1,10,3,8,8,7,4,7,8,5,6,6,3,7,8,7,7,7,9,7,7,7,8,7,7,2,7,1,7,3,5,7,8,3,5,6,5,7,7,5,5,9,7,9,5,5,5,6,8,4,7,5,6,4,5,9,7,10,9,7,8,9,1,1,5,1,6,7,7,1,2,5,3,7,7,4,4,3,10,2,5,2,3,5],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x3\",\"yaxis\":\"y3\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#bf8704\"},\"name\":\"Student with started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[4,4,8,1,7,1,3,5,2,3,8,5,4,1,6,3,5,6,6,8,1,1,9,4,4,1,7,1,2,5,1,2,3,8,3,1,10,7,1,7,3,2,5,1,2,3,8,7,5,5,3,7,3,5,8,2,6,6,3,2,2,2,6,5,3,5,5,7,5,3,5,3,6,4,3,2,2,6,3,6,1,1,6,2,5,5,4,4,10,5,4,8,6,7,8,3,8,2,1,7,5,5,10,3,7,8,6,3,5,3,1,2,6,5,3,6,5,3,3,3,7,10,1,3,5,8,8,10,7,2,1,1,5,6,5,5,5,5,5,2,4,3,10,8,5,5,4,8,3,2,8,7,1,5,1,5,7,7,6,3,5,6,7,5,2,6,3,5,3,5,1,6,5,3,5,6,5,1,5,3,7,7,3,3,4,7,5,2,7,6,10],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x3\",\"yaxis\":\"y3\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#1245ff\"},\"name\":\"Student without started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[10,9,10,8,7,7,7,10,10,9,8,8,7,10,6,7,8,8,8,10,8,7,7,10,8,6,8,8,5,6,8,10,10,10,8,10,8,10,5,8,10,6,8,8,9,10,6,8,7,8,9,6,8,5,2,8,8,10,7,8,6,10,9,9,10,10,8,10,8,8,9,6,10,5,8,10,9,10,9,8,8,8,10,7,9,10,9,3,8,10,5,3,6,3,7,10,10,5,8,8,8,8,9,9,7,7,10,7,9,9,10,10,7,7,9,5,10,10,8,10,2,10,7,8,8,8,9,6,10,10,9,9,9,9,6,5,7,8,10,10,10,8,9,6,10,7,9,10,5,10,10,8,8,5,9,7,8,5,10,10,10,7,9,10,7,9,9,8,8,8,8,10,10,10,7,8,5,3,8,9,6,8,7,8,10,10,10,10,10,10,8,3,8,9,9,10,10,7,10,4,8,8,10,10,10,9,6,9,8,8,9,10,9,9,10,10,4,10,10,7,5,7,5,7,1,10,5,7,4,8,10,7,7,9,7,6,6,2,7,1,7,5,5,8,8,10,10,7,5,3,5,9,5,9,8,8,5,10,7,10,6,7,10,10,5,9,6,6,10,9,9,10,10,8,10,9,2,10,4,9,3,10,6,7,10,6,7,10,6,7,10,4,10,7,6,8,5,6,9,10,5,8,10,10,2,3,5,10,6,9,7,3,7,9,9,10,6,7,8,8,8,1,3,4,5,5,6,7,8,9,10,5,7,10,4,7,9,10,4,9,7,10,3,10,6,8,10,8,8,4,8,10,9,9,8,8,9,10,9,8,9,7,8,10,1,7,10,8,5,8,10,10,8,9,10,10,9,4,9,4,9,9,5,9,9,8,8,10,8,5,8,3,10,9,10,10,9,8,7,8,1,8,6,10,1,7,10,8,8,10,10,8,8,5,6,10,2,10,10,8,10,7,8,10,9,10,10,7,7,10,9,2,8,10,9,7,10,9,8,9,9,10,9,9,9,9,10,8,10,8,8,10,9,7,8,8,5,9,4,9,10,7,9,3,9,8,4,7,10,7,3,8,9,10,8,5,4,9,8,9,8,10,10,7,7,10,8,1,9,6,7,8,10,1,6,10,8,9,7,7,8,9,5,10,1,4,10,8,7,5,9,7,5,10,9,8,10,10,10,10,9,5,8,6,10,10,10,10,10,8,7,10,5,9,8,5,6,8,5,9,7,9,8,9,8,10,7,10,10,8,10,9,10,8,8,7,5,9,9,6,10,5,10,9,5,10,7,3,2,4,9,8,10,9,3,7,8,3,6,10,2,1,10,5,8,8,8,10,10,9,6,10,8,8,5,6,8,9,7,9,8,6,5,10,9,10,10,9,8,10,9,8,10,5,8,6,9,9,7,8,8,10,10,9,10,10,9,10,10,9,3,7,10,9,8,6,8,7,10,10,8,10,8,4,1,7,6,9,9,10,10,9,7,8,5,10,7,10,8,10,6,5,6,10,8],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x4\",\"yaxis\":\"y4\"},{\"histnorm\":\"percent\",\"marker\":{\"color\":\"#bf8704\"},\"name\":\"Student with started doctorate\",\"opacity\":0.5,\"showlegend\":false,\"x\":[10,5,8,9,9,7,7,5,1,8,9,10,6,7,10,7,1,7,8,9,8,4,10,5,7,2,7,8,7,5,1,8,5,7,8,7,10,5,4,9,10,3,10,6,8,5,7,7,10,9,6,10,6,4,10,6,9,6,8,5,10,9,10,1,3,10,7,9,6,3,10,8,7,6,10,7,10,9,4,8,1,4,10,6,7,9,7,6,10,10,8,9,7,8,6,5,8,8,7,7,8,8,10,10,7,7,7,9,8,4,6,4,5,5,7,9,6,4,8,3,10,8,7,2,4,2,9,10,7,7,8,5,5,6,7,8,5,8,8,1,8,10,10,8,7,8,9,9,6,2,10,9,6,9,5,8,9,8,7,6,10,5,5,10,7,7,7,5,6,5,9,6,8,5,5,9,10,1,7,7,10,9,4,8,8,8,8,6,7,10,10],\"xbins\":{\"end\":10,\"size\":2,\"start\":0.01},\"type\":\"histogram\",\"xaxis\":\"x4\",\"yaxis\":\"y4\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,0.45],\"range\":[0,10],\"title\":{\"text\":\"agreement of influence in points\"},\"dtick\":2},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.625,1.0],\"title\":{\"text\":\"Proportion of \\u003cbr\\u003estudents in %\"},\"range\":[0,65],\"dtick\":10},\"xaxis2\":{\"anchor\":\"y2\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"agreement of influence in points\"},\"dtick\":2},\"yaxis2\":{\"anchor\":\"x2\",\"domain\":[0.625,1.0],\"title\":{\"text\":\"Proportion of \\u003cbr\\u003estudents in %\"},\"range\":[0,65],\"dtick\":10},\"xaxis3\":{\"anchor\":\"y3\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"agreement of influence in points\"},\"dtick\":2},\"yaxis3\":{\"anchor\":\"x3\",\"domain\":[0.0,0.375],\"title\":{\"text\":\"Proportion of \\u003cbr\\u003estudents in %\"},\"range\":[0,65],\"dtick\":10},\"xaxis4\":{\"anchor\":\"y4\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"agreement of influence in points\"},\"dtick\":2},\"yaxis4\":{\"anchor\":\"x4\",\"domain\":[0.0,0.375],\"title\":{\"text\":\"Proportion of \\u003cbr\\u003estudents in %\"},\"range\":[0,65],\"dtick\":10},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Influence of a doctoral thesis on \\u003cbr\\u003e the quality of patient care\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Influence of a doctoral thesis on \\u003cbr\\u003e the career\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Influence of a doctoral thesis on \\u003cbr\\u003e the salary\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.375,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Influence of a doctoral thesis on \\u003cbr\\u003e the social reputation\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.375,\"yanchor\":\"bottom\",\"yref\":\"paper\"}],\"legend\":{\"font\":{\"size\":16},\"x\":1.05,\"y\":-0.2,\"xanchor\":\"right\",\"yanchor\":\"bottom\"},\"bargap\":0.2,\"bargroupgap\":0.1,\"width\":1000,\"height\":800},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('4691572e-de98-4fb9-9433-4cf9a2c48698');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#Histogramm für Einfluss Promotion auf späteren Beruf\n","\n","# Spaltennamen angepasst\n","columns = ['EinflPatVersorg', 'EinflKarrier', 'EinflGehalt', 'EinflSozAns']\n","titles = ['Influence of a doctoral thesis on <br> the quality of patient care',\n","          'Influence of a doctoral thesis on <br> the career',\n","          'Influence of a doctoral thesis on <br> the salary',\n","          'Influence of a doctoral thesis on <br> the social reputation']\n","\n","# Erstellen der Subplots\n","fig = make_subplots(rows=2, cols=2, subplot_titles=titles)\n","\n","# Schleife über die Spalten\n","for i, column in enumerate(columns):\n","    # Daten für die aktuelle Spalte\n","    data = df[df[\"PromotionStand\"] != \"begonnen\"][column]\n","    dataPromo = df[df[\"PromotionStand\"] == \"begonnen\"][column]\n","\n","    # Histogramm hinzufügen\n","    fig.add_trace(\n","        go.Histogram(\n","            x=data,\n","            xbins=dict(start=0.01, end=10, size=2),\n","            name=\"Student without started doctorate\",\n","            opacity=0.5,\n","            histnorm='percent',\n","            marker_color=\"#1245ff\",\n","            showlegend=(i == 0)\n","        ),\n","        row=(i // 2) + 1,\n","        col=(i % 2) + 1\n","    )\n","\n","    fig.add_trace(\n","        go.Histogram(\n","            x=dataPromo,\n","            xbins=dict(start=0.01, end=10, size=2),\n","            name=\"Student with started doctorate\",\n","            opacity=0.5,\n","            histnorm='percent',\n","            marker_color=\"#bf8704\",\n","            showlegend=(i == 0)\n","        ),\n","        row=(i // 2) + 1,\n","        col=(i % 2) + 1\n","    )\n","\n","# Layout anpassen\n","fig.update_layout(\n","    bargap=0.2, # gap between bars of adjacent location coordinates\n","    bargroupgap=0.1, # gap between bars of the same location coordinates\n","    xaxis_range=[0, 10],\n","    width=1000,\n","    height=800,\n","    template=\"simple_white\",\n","    legend=dict(\n","        x=1.05,  # Positioniert die Legende ganz rechts\n","        y=-0.2,  # Positioniert die Legende ganz unten\n","        xanchor='right',  # Legendenanker rechts\n","        yanchor='bottom',  # Legendenanker unten\n","        font=dict( size=16,),\n","    )\n",")\n","\n","# Update xaxis properties\n","fig.update_xaxes(title_text=\"agreement of influence in points\", row=1, col=1)\n","fig.update_xaxes(title_text=\"agreement of influence in points\", row=2, col=1)\n","fig.update_xaxes(title_text=\"agreement of influence in points\", row=1, col=2)\n","fig.update_xaxes(title_text=\"agreement of influence in points\", row=2, col=2)\n","fig.update_yaxes(title_text=\"Proportion of <br>students in %\", range=[0, 65], dtick=10, row=1, col=1)\n","fig.update_yaxes(title_text=\"Proportion of <br>students in %\", range=[0, 65], dtick=10, row=1, col=2)\n","fig.update_yaxes(title_text=\"Proportion of <br>students in %\", range=[0, 65], dtick=10, row=2, col=1)\n","fig.update_yaxes(title_text=\"Proportion of <br>students in %\", range=[0, 65], dtick=10, row=2, col=2)\n","\n","\n","# x-Achse nur aller 2 aufteilen\n","fig.update_xaxes(dtick=2)\n","\n","# Diagramm anzeigen\n","fig.show()\n","\n","# Diagramm als HTML speichern\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/z030_subplot.png\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/z030_subplot.svg\")"]},{"cell_type":"markdown","source":["## Figure 5 - Assessments over AY"],"metadata":{"id":"g8YgXLp4ZsCB"}},{"cell_type":"code","source":["# Positionen für die Boxen\n","positions_object = np.arange(1, 6) - 0\n","positions_subject = np.arange(1, 6) + 0.35\n","\n","# Erstellen Sie ein Subplot mit zwei Y-Achsen\n","fig = make_subplots(specs=[[{\"secondary_y\": True}]])\n","\n","# Fügen Sie die Traces für die objectAssessment-Daten hinzu\n","for i, df in enumerate([df1, df2, df3, df4, df5]):\n","    fig.add_trace(go.Box(y=df[\"objectAssessment\"], line_color='#006AB3', name=\"{}.\".format(i+1), x=[positions_object[i]]*len(df)), secondary_y=False)\n","\n","# Fügen Sie die Traces für die subjectAssessment-Daten hinzu\n","for i, df in enumerate([df1, df2, df3, df4, df5]):\n","    fig.add_trace(go.Box(y=df[\"subjectAssesment\"], line_color='#38AEFF', name=\"{}.\".format(i+1), x=[positions_subject[i]]*len(df)), secondary_y=True)\n","\n","# Aktualisieren Sie das Layout\n","fig.update_layout(\n","    showlegend=False,\n","    template=\"simple_white\",\n","    #title=\"Objectiv-assessment and Self-assessment Scores\",\n","    title_x=0.5,\n","    xaxis=dict(\n","        tickmode='array',\n","        tickvals=positions_object,\n","        ticktext=['1.', '2.', '3.', '4.', '5.']\n","    )\n",")\n","\n","# Aktualisieren Sie die X-Achse\n","fig.update_xaxes(title_text='Academic year', tickfont=dict(size=16,), title_font=dict(size=20,))\n","\n","# Aktualisieren Sie die Y-Achsen\n","fig.update_yaxes(\n","    tickmode='linear',\n","    dtick=1,\n","    range=[-0.5, 10.5],\n","    title_text='Objectiv-assessment score',\n","    title_font=dict(size=20, color='#006AB3'),\n","    tickfont=dict(size=16, color='#006AB3'),\n","    secondary_y=False\n",")\n","fig.update_yaxes(\n","    tickmode='linear',\n","    dtick=5,\n","    range=[-0.5, 53.5],\n","    title_text='Self-assessment score',\n","    title_font=dict(size=20, color='#38AEFF'),\n","    tickfont=dict(size=16, color='#38AEFF'),\n","    secondary_y=True\n",")\n","\n","# Anzeigen\n","fig.show()\n","# Speichern\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/Combined_Box_FS.png\")\n"],"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":542},"id":"poGyqBEUZwEV","executionInfo":{"status":"ok","timestamp":1703061972463,"user_tz":-60,"elapsed":662,"user":{"displayName":"M. V.","userId":"14299655237261780537"}},"outputId":"77550bb7-945a-4d6d-86aa-774896b0af43"},"execution_count":8,"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"91ffb84b-0523-4758-adc2-a56e741b1650\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"91ffb84b-0523-4758-adc2-a56e741b1650\")) {                    Plotly.newPlot(                        \"91ffb84b-0523-4758-adc2-a56e741b1650\",                        [{\"line\":{\"color\":\"#006AB3\"},\"name\":\"1.\",\"x\":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],\"y\":[3,4,5,4,3,2,5,4,2,2,5,5,3,4,2,5,7,1,5,2,7,5,3,3,7,2,5,3,6,5,1,4,5,5,3,0,2,4,0,5,3,5,4,4,3,2,8,6,3,4,2,6,2,2,5,5,5,4,5,6,7,3,3,5,4,2,4,3,2,6,3,4,1,5,6,3,2,1,3,4,5,4,1,3,4,6,1,4,3,6,3,6,0,2,3,4,3,4,4,8,5,6,6,1,2,3,5,3,0,2,0,4,3,1,4,3,3,8,6,4,1,3,5,4,2,4,3,2,5,4,3,3,3,2,5,4,3,4,6,3,2,5,4,1,6,4,5,7,5,2,5,6,2,1,3,2,3,3,2,5,1,3,3,4,5,6,6,6,1,4,2,2,3,5,4,4,5,6,2,3,3,5,1,6,2,1,5,7,7,1,6,3,4,5,1,5,3,5,0,4,2,0,5,5,6,3,2,5,4,6,4,3,3,3,2],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"#006AB3\"},\"name\":\"2.\",\"x\":[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],\"y\":[5,5,6,0,4,4,3,5,5,5,6,5,1,2,5,3,0,3,5,3,7,4,4,3,4,3,2,5,4,3,4,2,6,3,4,2,3,2,5,2,5,3,3,3,4,5,3,5,5,4,6,5,6,6,3,2,5,6,4,5,3,6,2,1,4,6,2,2,4,7,4,3,3,4,4,3,2,3,5,3,5,7,2,6,5,3,6],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"#006AB3\"},\"name\":\"3.\",\"x\":[3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3],\"y\":[5,6,6,4,4,2,3,4,2,6,7,4,5,6,6,5,6,7,2,5,8,6,5,7,3,6,6,3,6,5,5,2,4,4,6,4,6,2,3,3,6,3,2,4,5,6,4,5,6,7,7,0,3,6,6,6,5,4,2,3,5,4,5,3,3,6,4,5,3,2,2,3,3,5,4,3,6,3,6,7,4,4,4,5,3,3,6,2,8,6,5,7,3,7,5,5,3,5,1,5,5,3,6,4,8,7,3,6,4,6,7,3,5,6,5,5,4,2,4,6,2,4,6,7,4,6,4,6,5,4,2,5,0,5,4,5,9,5,4,7,5,4,4,3,6,5,3,3,4,4,5,5,4,3,4,5,6,5,4,4,6,5,6,5,4,8,3,2,6,5,4,5,6,2,3,4,4,5,3,5,4,5,4,4,4,3,7,6,3,2,4,6,2,6,7,1,5,1,8,6,4,5,7,3,7,6,4,5,3,7,3,7,3,2,6,4,3,1,5],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"#006AB3\"},\"name\":\"4.\",\"x\":[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],\"y\":[6,6,7,4,7,7,6,6,8,7,3,2,10,4,6,4,6,6,4,4,4,8,4,3,6,6,4,5,7,6,8,4,5,6,5,7,5,4,6,6,6,7,2,5,5,3,3,3,6,5,1,6,7,7,5,6,8,2,7,6,6,6,5,6,5,4,8,6,7,4,10,3,3,6,3,6,6,6,3,4,3,4,6,8,5,6,6,8,6,6,4,2,5,7,4,6,4,8,4,5,7,2,4,3,6,7,1,2,9,6,5,6,6,5,5,4,6,9,4,4,6,8,3,6,3,4,4,3,6,7,6,7,8,4,6,7,4,7,3,7,5,5,3,8,5,4,9,7,7,6,4,4,3,3,4,1,3,4,3,3],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"#006AB3\"},\"name\":\"5.\",\"x\":[5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],\"y\":[7,4,3,6,5,5,5,8,6,7,6,5,4,3,5,7,6,5,2,7,3,8,3,5,5,4,5,3,7,8,6,2,3,5,4,1,5,5,3,7,5,6,4,3,7,7,7,7,5,3,4,6,5,4,3,6,6,6,6,5,6,7,4,4,6,6,6,6,5,4,5,4,8,5,3,9,9,5,7,5,3,9,5,5,7,6,6,6,6,5,7,6,3,2,8,4,4,7,8,6,7,4,4,8,7,6,7,5,5,9,4,4,6,3,6,3,5,7,3,5,5,7,6,2,5,8,5,9,6,8,5,5,3,7,5,8,6,5,7,5,6,7,7,3,6,7,8,6,6,8,7,6,7,6,3,6,8,2,7,7,4,6,4,6,2,6,4,5,6,8,6,6,5],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"#38AEFF\"},\"name\":\"1.\",\"x\":[1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35,1.35],\"y\":[41,9,7,39,4,6,38,1,10,1,21,40,14,3,32,28,10,2,10,1,2,12,13,8,5,9,3,10,7,17,14,15,18,2,3,2,42,7,9,7,7,2,9,0,10,6,0,19,31,7,9,47,15,8,4,11,37,35,5,45,30,32,15,12,16,0,15,6,10,23,1,18,33,6,5,13,3,13,14,2,5,19,6,9,48,3,5,6,9,39,11,31,21,8,15,14,7,6,23,14,7,7,27,12,12,15,5,0,2,13,8,5,27,4,4,20,6,24,38,19,13,9,11,1,32,17,11,22,29,10,13,9,19,10,11,9,17,23,14,15,16,11,27,14,24,9,10,43,4,16,10,4,3,8,11,2,13,17,20,11,0,17,15,12,7,19,7,30,3,15,8,7,0,46,1,5,8,8,16,25,12,7,7,16,12,1,23,42,26,10,9,14,15,13,19,4,11,16,12,36,7,16,0,8,26,3,21,0,38,0,17,15,1,3,30],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y2\"},{\"line\":{\"color\":\"#38AEFF\"},\"name\":\"2.\",\"x\":[2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35,2.35],\"y\":[37,11,37,10,13,1,22,20,12,1,16,42,7,17,22,25,10,0,12,27,31,3,42,18,22,18,34,46,18,22,28,4,2,18,17,4,5,5,20,7,4,12,6,13,15,33,8,48,20,8,13,9,15,20,8,5,17,18,10,8,24,14,7,4,29,45,20,25,15,49,12,9,35,2,15,7,11,27,31,13,8,18,6,2,16,0,19],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y2\"},{\"line\":{\"color\":\"#38AEFF\"},\"name\":\"3.\",\"x\":[3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35,3.35],\"y\":[3,3,5,12,14,24,18,33,14,2,14,9,1,10,11,13,1,26,18,4,31,7,5,38,14,0,4,6,14,9,10,11,3,29,4,13,3,25,26,12,15,0,22,31,8,2,5,15,22,8,7,15,9,12,8,17,21,20,8,4,7,14,31,34,5,33,38,13,13,36,5,3,2,15,10,9,16,4,4,9,8,16,4,1,1,11,27,1,11,22,7,24,4,42,36,13,26,7,4,8,4,2,24,29,11,11,2,19,10,6,1,29,0,14,9,4,0,2,39,4,6,9,12,8,14,4,13,6,20,31,1,13,25,20,9,21,11,23,5,22,38,13,24,14,6,13,5,9,10,7,7,16,20,1,10,5,7,36,8,16,5,44,3,17,6,15,13,7,18,14,5,13,21,0,16,29,9,13,23,23,46,2,3,26,30,2,11,13,34,31,34,13,12,10,45,24,26,25,26,30,1,0,1,2,8,28,35,2,38,17,35,11,2,41,38,16,2,14,3],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y2\"},{\"line\":{\"color\":\"#38AEFF\"},\"name\":\"4.\",\"x\":[4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35,4.35],\"y\":[17,5,29,21,6,48,5,19,13,16,32,9,52,24,9,0,7,43,0,2,3,10,10,3,0,34,10,49,22,25,48,7,32,13,13,35,4,6,9,47,28,31,9,35,28,0,9,12,43,28,16,50,12,2,4,37,42,39,14,27,34,15,27,32,46,15,17,5,18,11,47,5,11,15,12,37,42,24,9,19,21,1,43,0,9,44,15,43,5,22,37,14,16,5,3,0,3,25,14,3,34,13,13,10,4,16,26,19,50,2,41,17,25,11,20,7,29,28,12,16,43,40,1,14,9,7,10,16,10,24,5,3,28,20,39,34,16,33,39,13,46,46,27,40,40,7,37,22,13,44,0,0,0,0,1,3,2,23,37,24],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y2\"},{\"line\":{\"color\":\"#38AEFF\"},\"name\":\"5.\",\"x\":[5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35,5.35],\"y\":[15,13,25,34,16,4,13,25,1,34,39,13,38,5,26,38,12,38,2,31,19,8,6,25,23,31,12,30,41,46,37,15,15,14,5,11,4,32,12,50,22,6,25,9,5,7,32,28,33,10,38,5,7,11,26,14,44,40,12,22,0,7,9,10,34,14,36,18,4,26,33,18,18,12,10,39,15,23,18,19,0,42,11,8,24,35,20,4,33,13,11,5,0,12,44,12,26,40,45,2,46,2,8,21,7,1,25,1,37,48,25,41,9,17,34,5,11,38,17,24,33,22,37,3,1,15,15,10,42,21,3,17,13,32,9,16,11,26,32,22,27,27,34,8,29,4,24,20,43,39,23,40,21,15,7,28,17,32,24,11,48,37,27,9,11,4,18,19,22,45,23,17,6],\"type\":\"box\",\"xaxis\":\"x\",\"yaxis\":\"y2\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,0.94],\"tickmode\":\"array\",\"tickvals\":[1,2,3,4,5],\"ticktext\":[\"1.\",\"2.\",\"3.\",\"4.\",\"5.\"],\"title\":{\"font\":{\"size\":20},\"text\":\"Academic year\"},\"tickfont\":{\"size\":16}},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.0,1.0],\"title\":{\"font\":{\"size\":20,\"color\":\"#006AB3\"},\"text\":\"Objectiv-assessment score\"},\"tickfont\":{\"size\":16,\"color\":\"#006AB3\"},\"tickmode\":\"linear\",\"dtick\":1,\"range\":[-0.5,10.5]},\"yaxis2\":{\"anchor\":\"x\",\"overlaying\":\"y\",\"side\":\"right\",\"title\":{\"font\":{\"size\":20,\"color\":\"#38AEFF\"},\"text\":\"Self-assessment score\"},\"tickfont\":{\"size\":16,\"color\":\"#38AEFF\"},\"tickmode\":\"linear\",\"dtick\":5,\"range\":[-0.5,53.5]},\"title\":{\"x\":0.5},\"showlegend\":false},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('91ffb84b-0523-4758-adc2-a56e741b1650');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}]},{"cell_type":"markdown","source":["## Figure 8 a - Doctorade -SelfAssessment + Stat"],"metadata":{"id":"bpoab-f1X6Gv"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":558},"executionInfo":{"elapsed":4729,"status":"ok","timestamp":1702978907839,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"0Y8Bj3zmSWU8","outputId":"52afb71e-c2fa-4931-f867-31195f8810b0"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"458abbe9-329f-42a3-be72-b6c429e7a329\" class=\"plotly-graph-div\" style=\"height:450px; width:600px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"458abbe9-329f-42a3-be72-b6c429e7a329\")) {                    Plotly.newPlot(                        \"458abbe9-329f-42a3-be72-b6c429e7a329\",                        [{\"fillcolor\":\"#38AEFF\",\"legendgroup\":\"non doctorate\",\"line\":{\"color\":\"black\"},\"name\":\"non doctorate\",\"opacity\":1,\"showlegend\":false,\"y\":[5,4,13,1,5,26,12,19,8,6,25,31,12,30,15,15,11,4,12,50,6,33,10,38,40,7,14,36,10,15,23,18,0,8,4,13,5,26,2,2,7,1,48,9,5,11,17,1,15,15,21,17,13,9,26,29,32,8,4,24,32,9,4,21,6,48,5,9,24,9,0,7,43,0,2,3,10,10,3,0,10,49,7,32,13,13,35,4,6,28,9,35,0,9,12,43,6,16,50,4,15,15,17,5,18,11,11,15,12,24,21,9,15,37,14,16,5,3,0,3,3,13,10,4,16,26,19,2,17,11,20,12,16,1,9,7,16,10,5,3,16,33,39,7,13,0,0,0,1,3,37,24],\"type\":\"box\"},{\"fillcolor\":\"#006AB3\",\"legendgroup\":\"doctorate\",\"line\":{\"color\":\"black\"},\"name\":\"doctorate\",\"opacity\":1,\"showlegend\":false,\"y\":[17,15,13,25,34,16,25,34,39,13,38,38,38,2,31,41,23,41,46,37,14,5,32,22,25,9,5,7,32,28,5,7,11,26,14,44,9,12,22,0,9,10,34,18,4,26,33,18,18,12,39,19,42,11,24,35,20,33,11,0,12,44,12,40,45,46,8,21,1,25,37,25,41,17,34,38,24,33,22,37,3,10,42,3,32,16,11,22,27,27,34,29,20,43,39,23,40,21,15,7,28,17,24,11,48,37,27,11,18,19,22,45,23,17,19,13,16,32,52,34,22,25,48,9,47,31,28,28,12,2,37,42,39,14,27,34,27,32,46,47,5,37,42,9,19,1,43,0,44,43,5,22,25,14,34,13,50,41,25,7,29,28,43,40,14,10,24,28,20,39,34,13,46,46,27,40,40,37,22,44,0,2,23],\"type\":\"box\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=183\",\"x\":1.0,\"y\":53.5},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=152\",\"x\":0,\"y\":53.5}],\"title\":{\"font\":{\"size\":24},\"x\":0.5},\"xaxis\":{\"title\":{\"font\":{\"size\":20},\"text\":\"doctorate status\"},\"tickfont\":{\"size\":20}},\"yaxis\":{\"title\":{\"font\":{\"size\":20},\"text\":\"Self-assessment score\"},\"tickfont\":{\"size\":16},\"dtick\":5,\"range\":[-0.5,53.6]},\"legend\":{\"font\":{\"size\":16},\"x\":1.2,\"y\":0.8,\"traceorder\":\"normal\",\"bgcolor\":\"White\",\"bordercolor\":\"Black\",\"borderwidth\":2,\"xanchor\":\"right\",\"yanchor\":\"bottom\"},\"showlegend\":true,\"height\":450,\"width\":600},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('458abbe9-329f-42a3-be72-b6c429e7a329');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}},{"output_type":"stream","name":"stdout","text":["t-Statistik=-7.335, p=0.000000000002\n","Median von A1: 11.5\n","Median von A2: 25.0\n","Interquartilbereich von A1: 19.25  -  5.0\n","Interquartilbereich von A2: 37.0  -  13.5\n"]}],"source":["df_filtered = df[df['Fachsemester'] > 6]\n","\n","fig = go.Figure()\n","\n","y_values_A1 = df_filtered[\"subjectAssesment\"][(df_filtered[\"PromotionStand\"] != 'begonnen')]\n","y_values_A2 = df_filtered[\"subjectAssesment\"][(df_filtered[\"PromotionStand\"] == 'begonnen')]\n","annotations = []\n","n_A2 = len(y_values_A2)\n","n_A1 = len(y_values_A1)\n","\n","fig.add_trace(go.Box(\n","        y=df_filtered[\"subjectAssesment\"][(df_filtered[\"PromotionStand\"] != 'begonnen')],\n","        line_color='black',\n","        fillcolor='#38AEFF',\n","        opacity=1,\n","        legendgroup='non doctorate',\n","        name='non doctorate',\n","        showlegend=False\n","    ))\n","\n","fig.add_trace(go.Box(\n","        y=df_filtered[\"subjectAssesment\"][(df_filtered[\"PromotionStand\"] == 'begonnen')],\n","        line_color='black',\n","        fillcolor='#006AB3',\n","        opacity=1,\n","        legendgroup='doctorate',\n","        name='doctorate',\n","        showlegend=False\n","))\n","\n","    # Add annotations\n","annotations.append(dict(x=1., y=53.5, text=f\"n={n_A2}\", font=dict(size=16), showarrow=False))\n","annotations.append(dict(x=0, y=53.5, text=f\"n={n_A1}\", font=dict(size=16),showarrow=False))\n","\n","fig.update_layout(annotations=annotations)\n","fig.update_layout(\n","    showlegend=True, template=\"simple_white\",\n","    height=450,\n","    width= 600,\n","    title_x=1,\n","    title=dict(\n","        #text=\"Self-assessment score Doctorate vs Non-Doctorate in 4th and 5th Academic Year\",\n","        x=0.5,\n","        font=dict(\n","            size=24,\n","        ),\n","    ),\n","    xaxis=dict(\n","        title_text='doctorate status',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=20,),\n","    ),\n","    yaxis=dict(\n","        dtick=5,\n","        range=[-0.5, 53.6],\n","        title_text='Self-assessment score',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=16,),\n","    ),\n","    legend=dict(\n","        x=1.2,  # Horizontale Position (1 ist ganz rechts)\n","        y=0.8,  # Vertikale Position (0 ist ganz unten)\n","        traceorder=\"normal\",\n","        font=dict(\n","            size=16,\n","        ),\n","        bgcolor=\"White\",\n","        bordercolor=\"Black\",\n","        borderwidth=2,\n","        xanchor='right',  # 'auto', 'left', 'center' , 'right'\n","        yanchor='bottom',  # 'auto', 'top', 'middle', 'bottom'\n","    )\n",")\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/SelbstKpkt_FS-Promotion.png\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/SelbstKpkt_FS-Promotion.svg\")\n","\n","# Durchführung des t-Tests\n","t_stat, p = stats.ttest_ind(y_values_A1, y_values_A2, equal_var=True)\n","\n","# Ausgabe der Ergebnisse\n","print('t-Statistik=%.3f, p=%.12f' % (t_stat, p))\n","\n","\n","print(\"Median von A1:\", np.median(y_values_A1))\n","print(\"Median von A2:\", np.median(y_values_A2))\n","print(\"Interquartilbereich von A1:\", np.percentile(y_values_A1, 75),\" - \",np.percentile(y_values_A1, 25))\n","print(\"Interquartilbereich von A2:\", np.percentile(y_values_A2, 75),\" - \",np.percentile(y_values_A2, 25))"]},{"cell_type":"markdown","source":["## Figure 8b - Eduaction on Self-Assessment + Stat"],"metadata":{"id":"rhdQWqyTYFZk"}},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":558},"executionInfo":{"elapsed":881,"status":"ok","timestamp":1702978933115,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"HI_iuAF3SWU8","outputId":"406792e4-20f4-469d-abfa-02913e047c4c"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"fa871b4f-5fd7-481e-ab9c-390f97d906b3\" class=\"plotly-graph-div\" style=\"height:450px; width:600px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"fa871b4f-5fd7-481e-ab9c-390f97d906b3\")) {                    Plotly.newPlot(                        \"fa871b4f-5fd7-481e-ab9c-390f97d906b3\",                        [{\"fillcolor\":\"#38AEFF\",\"legendgroup\":\"none\",\"line\":{\"color\":\"black\"},\"name\":\"none\",\"opacity\":1,\"showlegend\":false,\"y\":[5,15,25,16,4,1,39,26,38,12,38,2,31,41,19,23,31,12,41,46,37,15,15,5,11,32,6,25,5,7,32,28,10,38,5,7,9,40,22,10,34,14,36,18,4,26,33,18,18,39,23,19,0,11,8,24,33,11,5,0,44,12,26,40,45,2,7,25,1,37,48,25,41,9,17,34,5,17,24,37,1,15,15,42,3,17,13,32,9,16,11,29,27,34,8,29,4,24,20,43,39,23,40,21,15,7,28,17,24,11,48,27,11,4,18,22,45,23,21,5,19,32,24,9,0,7,2,10,10,3,0,34,10,22,25,48,7,32,35,4,6,9,31,35,28,0,9,12,28,16,12,2,42,14,27,34,15,32,46,17,5,18,5,15,37,24,19,1,43,0,9,44,5,14,3,34,13,13,10,26,19,50,17,11,20,7,12,43,40,14,16,10,5,3,28,20,39,33,13,46,46,27,40,40,37,22,0,1,2,23,37,24],\"type\":\"box\"},{\"fillcolor\":\"#006AB3\",\"legendgroup\":\" medical education\",\"line\":{\"color\":\"black\"},\"name\":\"healthcare-related education\",\"opacity\":1,\"showlegend\":false,\"y\":[17,13,13,25,13,8,25,4,12,22,9,33,26,14,44,12,0,7,9,12,10,15,18,20,4,13,12,2,46,8,21,1,11,38,33,22,10,26,22,32,9,19,17,6,13,16,9,0,3,13,13,47,9,4,37,39,27,15,11,47,11,12,42,9,5,3,0,25,14,3,4,16,25,28,16,1,9,10,34,16,7,13,44,0,0,0,3],\"type\":\"box\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=87\",\"x\":1.0,\"y\":53.5},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=212\",\"x\":0,\"y\":53.5}],\"title\":{\"font\":{\"size\":24},\"x\":0.5},\"xaxis\":{\"title\":{\"font\":{\"size\":20},\"text\":\"educational background\"},\"tickfont\":{\"size\":16}},\"yaxis\":{\"title\":{\"font\":{\"size\":20},\"text\":\"Self-assessment score\"},\"tickfont\":{\"size\":16},\"dtick\":5,\"range\":[-0.5,53.6]},\"legend\":{\"font\":{\"size\":16},\"x\":1.2,\"y\":0.8,\"traceorder\":\"normal\",\"bgcolor\":\"White\",\"bordercolor\":\"Black\",\"borderwidth\":2,\"xanchor\":\"right\",\"yanchor\":\"bottom\"},\"showlegend\":true,\"height\":450,\"width\":600},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('fa871b4f-5fd7-481e-ab9c-390f97d906b3');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}},{"output_type":"stream","name":"stdout","text":["t-Statistik=2.745, p=0.006428937412\n","Median von A1: 18.5\n","Median von A2: 13.0\n","Interquartilbereich von A1: 32.0  -  9.0\n","Interquartilbereich von A2: 22.0  -  8.0\n"]}],"source":["\n","df_filtered = df[df['Fachsemester'] > 6]\n","\n","fig = go.Figure()\n","\n","y_values_A1 = df_filtered[\"subjectAssesment\"][(df_filtered[\"VorbildgKategor\"] == '0')]\n","y_values_A2 = df_filtered[\"subjectAssesment\"][(df_filtered[\"VorbildgKategor\"] == 'Medizinnahe Ausbildung')]\n","annotations = []\n","n_A2 = len(y_values_A2)\n","n_A1 = len(y_values_A1)\n","\n","fig.add_trace(go.Box(\n","        y=df_filtered[\"subjectAssesment\"][(df_filtered[\"VorbildgKategor\"]  == '0')],\n","        line_color='black', fillcolor='#38AEFF', opacity=1, legendgroup='none',  name='none',\n","        showlegend=False\n","    ))\n","\n","fig.add_trace(go.Box(\n","        y=df_filtered[\"subjectAssesment\"][(df_filtered[\"VorbildgKategor\"] == 'Medizinnahe Ausbildung')],\n","        line_color='black', fillcolor='#006AB3', opacity=1, legendgroup=' medical education', name='healthcare-related education',\n","        showlegend=False\n","))\n","\n","    # Add annotations\n","annotations.append(dict(x=1., y=53.5, text=f\"n={n_A2}\",font=dict(size=16), showarrow=False))\n","annotations.append(dict(x=0, y=53.5, text=f\"n={n_A1}\", font=dict(size=16),showarrow=False))\n","\n","fig.update_layout(annotations=annotations)\n","fig.update_layout(\n","    showlegend=True, template=\"simple_white\",\n","   height=450,\n","    width= 600,\n","    title_x=1,\n","    title=dict(\n","        #text=\"Self-assessment score medical education vs Non-medical education <br>in 4th and 5th Academic Year\",\n","        x=0.5,\n","        font=dict(\n","            size=24,\n","        ),\n","    ),\n","    xaxis=dict(\n","        title_text='educational background',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=16,),\n","    ),\n","    yaxis=dict(\n","        dtick=5,\n","        range=[-0.5, 53.6],\n","        title_text='Self-assessment score',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=16,),\n","    ),\n","    legend=dict(\n","        x=1.2,  # Horizontale Position (1 ist ganz rechts)\n","        y=0.8,  # Vertikale Position (0 ist ganz unten)\n","        traceorder=\"normal\",\n","        font=dict(\n","            size=16,\n","        ),\n","        bgcolor=\"White\",\n","        bordercolor=\"Black\",\n","        borderwidth=2,\n","        xanchor='right',  # 'auto', 'left', 'center' , 'right'\n","        yanchor='bottom',  # 'auto', 'top', 'middle', 'bottom'\n","    )\n",")\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/SelbstKpkt_FS-Vorbildung.svg\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/SelbstKpkt_FS-Vorbildung.png\")\n","\n","# Durchführung des unabhängigen t-Tests\n","t_stat, p = stats.ttest_ind(y_values_A1, y_values_A2, equal_var=True)\n","\n","# Ausgabe der Ergebnisse\n","print('t-Statistik=%.3f, p=%.12f' % (t_stat, p))\n","\n","\n","print(\"Median von A1:\", np.median(y_values_A1))\n","print(\"Median von A2:\", np.median(y_values_A2))\n","print(\"Interquartilbereich von A1:\", np.percentile(y_values_A1, 75),\" - \",np.percentile(y_values_A1, 25))\n","print(\"Interquartilbereich von A2:\", np.percentile(y_values_A2, 75),\" - \",np.percentile(y_values_A2, 25))\n"]},{"cell_type":"markdown","source":["## Figure 6 - Relevance and Perspective + Stat"],"metadata":{"id":"RSmsrX-rYW-1"}},{"cell_type":"code","execution_count":null,"metadata":{"id":"oLdaWN4lSWU9"},"outputs":[],"source":["#Umstrukturierung des Relevanzscores in jediglich 3 Kategorien!\n","columns = ['ErwartungLiteratur','ErwartungForschungsprojk','ErwartungStatMethode','ErwartungwissAbhandlung','ErwartungPosterVortrag','ErwartungLeitlinie','ErwartungEvidenzNachvoll', 'ErwartungPatientenErkl']\n","\n","replacement = {0:0, 1:0, 2:1, 3:2, 4:2}\n","\n","for column in columns:\n","    df[column] = df[column].replace(replacement)\n","\n","#Zusammenfassen von Täglich und Wöchentlich zu 2, monatlich zu 1 und seltener als monatlich=0\n","#Summieren für alle Items zu Relevanzscore = 8*2=max.16 Pkt.\n","df[\"Relevanz\"] = df[columns].sum(axis=1)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":486},"executionInfo":{"elapsed":1189,"status":"ok","timestamp":1701010264539,"user":{"displayName":"M. V.","userId":"14299655237261780537"},"user_tz":-60},"id":"B6ldNqucSWU9","outputId":"45593a95-1a3d-46a7-b24a-d1ec586363c8"},"outputs":[{"output_type":"stream","name":"stderr","text":["<ipython-input-50-4384b5279ee4>:20: FutureWarning:\n","\n","iteritems is deprecated and will be removed in a future version. Use .items instead.\n","\n"]},{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"31fedba1-2905-4e9d-af47-b30e6825186c\" class=\"plotly-graph-div\" style=\"height:400px; width:750px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"31fedba1-2905-4e9d-af47-b30e6825186c\")) {                    Plotly.newPlot(                        \"31fedba1-2905-4e9d-af47-b30e6825186c\",                        [{\"alignmentgroup\":\"True\",\"hovertemplate\":\"Beruf=%{x}\\u003cbr\\u003eRelevanz=%{y}\\u003cextra\\u003e\\u003c\\u002fextra\\u003e\",\"legendgroup\":\"\",\"marker\":{\"color\":\"#1F77B4\"},\"name\":\"\",\"notched\":false,\"offsetgroup\":\"\",\"orientation\":\"v\",\"showlegend\":false,\"x\":[\"Practice\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Research\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Research\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Research\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Research\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Research\",\"Research\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Research\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Research\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Research\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Research\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Research\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Research\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Research\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Research\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Practice\",\"Research\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Research\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Practice\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"Research\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Hospital\",\"Hospital\",\"Hospital\",\"University Hospital\",\"Practice\",\"Hospital\",\"University Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"Practice\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Practice\",\"Hospital\",\"Practice\",\"University Hospital\",\"University Hospital\",\"Hospital\",\"University Hospital\",\"University Hospital\",\"Research\"],\"x0\":\" \",\"xaxis\":\"x\",\"y\":[6.0,8.0,6.0,11.0,13.0,2.0,14.0,6.0,4.0,4.0,9.0,9.0,4.0,3.0,5.0,6.0,8.0,7.0,9.0,3.0,8.0,7.0,7.0,3.0,4.0,10.0,5.0,6.0,7.0,6.0,7.0,9.0,9.0,7.0,5.0,6.0,5.0,6.0,1.0,6.0,6.0,13.0,3.0,6.0,5.0,4.0,6.0,8.0,4.0,5.0,9.0,9.0,11.0,2.0,6.0,2.0,6.0,3.0,12.0,3.0,8.0,11.0,4.0,0.0,4.0,8.0,8.0,8.0,5.0,7.0,7.0,7.0,5.0,4.0,8.0,2.0,3.0,6.0,8.0,7.0,9.0,4.0,6.0,16.0,10.0,4.0,6.0,11.0,6.0,8.0,3.0,1.0,4.0,5.0,7.0,8.0,5.0,10.0,4.0,4.0,7.0,3.0,2.0,2.0,3.0,10.0,12.0,4.0,10.0,7.0,5.0,5.0,6.0,5.0,6.0,11.0,5.0,8.0,4.0,7.0,7.0,10.0,6.0,2.0,7.0,6.0,9.0,3.0,2.0,6.0,6.0,4.0,7.0,4.0,15.0,5.0,6.0,6.0,3.0,12.0,4.0,9.0,9.0,4.0,10.0,9.0,4.0,5.0,6.0,4.0,7.0,11.0,11.0,8.0,7.0,5.0,9.0,4.0,6.0,6.0,4.0,7.0,6.0,15.0,5.0,5.0,10.0,7.0,4.0,10.0,6.0,6.0,10.0,3.0,5.0,2.0,4.0,11.0,3.0,6.0,7.0,7.0,4.0,1.0,4.0,6.0,10.0,6.0,6.0,12.0,5.0,5.0,4.0,8.0,6.0,6.0,5.0,8.0,4.0,9.0,6.0,6.0,5.0,4.0,11.0,2.0,8.0,7.0,1.0,6.0,11.0,10.0,2.0,2.0,6.0,7.0,6.0,3.0,7.0,5.0,4.0,3.0,4.0,4.0,4.0,6.0,8.0,3.0,10.0,5.0,3.0,10.0,7.0,6.0,9.0,13.0,2.0,5.0,7.0,5.0,4.0,3.0,7.0,2.0,4.0,11.0,7.0,2.0,2.0,3.0,4.0,6.0,1.0,11.0,8.0,4.0,3.0,5.0,3.0,1.0,6.0,5.0,2.0,4.0,5.0,7.0,5.0,4.0,7.0,10.0,6.0,3.0,8.0,3.0,12.0,1.0,3.0,7.0,4.0,2.0,4.0,4.0,1.0,5.0,6.0,1.0,2.0,7.0,8.0,5.0,4.0,8.0,3.0,4.0,7.0,12.0,1.0,2.0,6.0,5.0,6.0,4.0,5.0,3.0,4.0,5.0,13.0,2.0,5.0,6.0,4.0,6.0,11.0,4.0,5.0,5.0,9.0,1.0,3.0,4.0,1.0,6.0,4.0,8.0,3.0,4.0,6.0,2.0,4.0,6.0,4.0,8.0,13.0,7.0,2.0,0.0,3.0,3.0,5.0,3.0,4.0,2.0,3.0,4.0,4.0,9.0,4.0,6.0,4.0,9.0,6.0,6.0,3.0,3.0,5.0,0.0,3.0,6.0,12.0,7.0,4.0,5.0,3.0,3.0,3.0,0.0,6.0,8.0,3.0,5.0,4.0,12.0,5.0,2.0,8.0,8.0,4.0,3.0,1.0,3.0,10.0,5.0,7.0,8.0,6.0,6.0,1.0,6.0,1.0,7.0,2.0,5.0,10.0,8.0,4.0,4.0,6.0,6.0,9.0,10.0,5.0,1.0,11.0,6.0,1.0,6.0,4.0,6.0,1.0,6.0,4.0,2.0,8.0,6.0,6.0,6.0,3.0,4.0,9.0,7.0,6.0,7.0,10.0,13.0,0.0,5.0,13.0,1.0,5.0,8.0,7.0,6.0,5.0,6.0,3.0,4.0,8.0,5.0,6.0,11.0,10.0,7.0,5.0,6.0,10.0,5.0,3.0,5.0,3.0,8.0,4.0,5.0,3.0,7.0,0.0,6.0,11.0,7.0,4.0,5.0,5.0,1.0,5.0,10.0,7.0,4.0,6.0,11.0,8.0,3.0,6.0,6.0,4.0,11.0,2.0,6.0,7.0,5.0,1.0,0.0,6.0,2.0,3.0,4.0,8.0,5.0,12.0,2.0,3.0,7.0,4.0,8.0,6.0,4.0,8.0,4.0,6.0,3.0,4.0,4.0,4.0,5.0,4.0,4.0,9.0,6.0,4.0,4.0,10.0,2.0,8.0,12.0,12.0,6.0,6.0,3.0,5.0,10.0,3.0,5.0,6.0,11.0,3.0,5.0,13.0,8.0,4.0,4.0,9.0,9.0,1.0,7.0,4.0,8.0,6.0,5.0,7.0,6.0,5.0,6.0,5.0,3.0,9.0,4.0,7.0,6.0,8.0,10.0,4.0,11.0,7.0,5.0,6.0,4.0,4.0,16.0,3.0,1.0,4.0,5.0,5.0,6.0,10.0,4.0,6.0,6.0,5.0,2.0,2.0,3.0,4.0,7.0,11.0,6.0,4.0,2.0,3.0,7.0,1.0,2.0,2.0,4.0,4.0,2.0,7.0,3.0,7.0,8.0,2.0,7.0,7.0,9.0,5.0,4.0,8.0,3.0,3.0,5.0,6.0,0.0,7.0,3.0,7.0,7.0,4.0,3.0,5.0,7.0,8.0,3.0,8.0,5.0,8.0,4.0,7.0,0.0,4.0,9.0,3.0,7.0,6.0,6.0,5.0,9.0,15.0,6.0,4.0,2.0,10.0,2.0,6.0,5.0,3.0,5.0,6.0,11.0,3.0,9.0,8.0,5.0,4.0,7.0,8.0,4.0,5.0,6.0,7.0,7.0,4.0,11.0,10.0,8.0,5.0,11.0,9.0,10.0,5.0,5.0,10.0,3.0,6.0,5.0,7.0,7.0,6.0,1.0,3.0,5.0,8.0,8.0,1.0,3.0,2.0,3.0,4.0,3.0,2.0,3.0,5.0,8.0,4.0,7.0,3.0,6.0,2.0,5.0,6.0,7.0,2.0,2.0,7.0,6.0,5.0,10.0,2.0,4.0,4.0,7.0,3.0,3.0,7.0,4.0,4.0,0.0,12.0,8.0,8.0,10.0,4.0,3.0,4.0,2.0,5.0,7.0,3.0,6.0,1.0,2.0,6.0,6.0,3.0,3.0,3.0,3.0,4.0,9.0,4.0,1.0,5.0,6.0,5.0,3.0,4.0,4.0,4.0,1.0,7.0,9.0,5.0,7.0,6.0,8.0,9.0,9.0,5.0,7.0,5.0,5.0,2.0,8.0,4.0,8.0,7.0,0.0,7.0,7.0,1.0,3.0,9.0,5.0,4.0,13.0,2.0,4.0,1.0,6.0,5.0,7.0,6.0,10.0,12.0,7.0,9.0,2.0,8.0,5.0,6.0,9.0,6.0,11.0,2.0,3.0,2.0,5.0,3.0,5.0,9.0,4.0,3.0,6.0,4.0,3.0,6.0,3.0,4.0,6.0,11.0,8.0,7.0,12.0,3.0,2.0,4.0,1.0,6.0,7.0,7.0,7.0,6.0,5.0,1.0,6.0,4.0,4.0,4.0,7.0,3.0,5.0,5.0,4.0,1.0,6.0,15.0,9.0,14.0,4.0,7.0],\"y0\":\" \",\"yaxis\":\"y\",\"type\":\"box\",\"line\":{\"color\":\"black\"},\"fillcolor\":\"#38AEFF\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,1.0],\"title\":{\"text\":\"work prospects\",\"font\":{\"size\":20}},\"categoryorder\":\"array\",\"categoryarray\":[\"Practice\",\"Hospital\",\"University Hospital\",\"Research\"],\"tickfont\":{\"size\":16}},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.0,1.0],\"title\":{\"text\":\"relevance score\",\"font\":{\"size\":20}},\"tickfont\":{\"size\":16},\"dtick\":2,\"range\":[-0.5,16.3]},\"legend\":{\"tracegroupgap\":0},\"margin\":{\"t\":60},\"boxmode\":\"group\",\"title\":{\"font\":{\"size\":24},\"x\":0.5},\"showlegend\":true,\"height\":400,\"width\":750,\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=390\",\"x\":\"Practice\",\"xanchor\":\"center\",\"y\":16.2,\"yanchor\":\"bottom\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=271\",\"x\":\"Hospital\",\"xanchor\":\"center\",\"y\":16.2,\"yanchor\":\"bottom\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=148\",\"x\":\"University Hospital\",\"xanchor\":\"center\",\"y\":16.2,\"yanchor\":\"bottom\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"n=18\",\"x\":\"Research\",\"xanchor\":\"center\",\"y\":16.2,\"yanchor\":\"bottom\"}]},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('31fedba1-2905-4e9d-af47-b30e6825186c');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#Relebanzscore für alle Studienjahre über Berufsperspektive als Boxplot\n","order = [\"Practice\", \"Hospital\", \"University Hospital\", \"Research\"]\n","translation = {\"Niederlassung\": \"Practice\", \"Klinik\": \"Hospital\", \"Universitätsklinikum\": \"University Hospital\", \"Forschung\": \"Research\"}\n","\n","\n","df['Beruf'] = df['Beruf'].replace(translation)\n","\n","df = df[df['Beruf'].isin(order)]\n","\n","fig = px.box(df, x=\"Beruf\", y=\"Relevanz\", template=\"simple_white\", category_orders={\"Beruf\": order})\n","\n","# Update the colors\n","fig.update_traces(line_color='black', fillcolor='#38AEFF')\n","\n","\n","counts = df['Beruf'].value_counts().reindex(order)\n","\n","\n","annotations = [dict(x=beruf, y=16.2, text=f'n={n}', xanchor='center', yanchor='bottom',font=dict(size=16), showarrow=False)\n","               for beruf, n in counts.iteritems()]\n","\n","fig.update_layout(\n","    showlegend=True, template=\"simple_white\",\n","    height=400,\n","    width= 750,\n","    title_x=1,\n","    title=dict(\n","        #text=\"Assessment of relevance according to work perspective\",\n","        x=0.5,\n","        font=dict(\n","            size=24,\n","        ),\n","    ),\n","    xaxis=dict(\n","        title_text='work prospects',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=16,),\n","    ),\n","    yaxis=dict(\n","        dtick=2,\n","        range=[-0.5, 16.3],\n","        title_text='relevance score',\n","        title_font=dict( size=20,),\n","        tickfont=dict(size=16,),\n","    ),\n","    annotations=annotations,\n",")\n","\n","fig.show()\n","\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/Rel-Beruf.svg\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/Rel-Beruf.png\")\n","\n"]},{"cell_type":"code","source":["group1 = df[\"Relevanz\"][df[\"Beruf\"] == 'Practice']\n","group2 = df[\"Relevanz\"][df[\"Beruf\"] == 'Hospital']\n","group3 = df[\"Relevanz\"][df[\"Beruf\"] == 'University Hospital']\n","group4 = df[\"Relevanz\"][df[\"Beruf\"] == 'Research']\n","\n","# ANOVA\n","F, p = stats.f_oneway(group1, group2, group3, group4)\n","\n","print(\"F-Wert:\", F)\n","print(\"p-Wert:\", p)\n","\n","    # Zusammenführen der Gruppen in ein Array und Erstellen eines Labels-Arrays\n","data = np.concatenate([group1, group2, group3, group4])\n","labels = ['Practice']*len(group1) + ['Hospital']*len(group2) + ['University']*len(group3) + ['Research']*len(group4)\n","\n","    # Durchführen von Tukey's HSD Test\n","tukey_result = pairwise_tukeyhsd(data, labels)\n","print(tukey_result)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"COKQEokQP57P","executionInfo":{"status":"ok","timestamp":1700771719362,"user_tz":-60,"elapsed":733,"user":{"displayName":"M. V.","userId":"14299655237261780537"}},"outputId":"5d3d9e33-d46b-4623-cf61-ea2227477b79"},"execution_count":null,"outputs":[{"output_type":"stream","name":"stdout","text":["F-Wert: 43.10805471346012\n","p-Wert: 7.028785770577095e-26\n","   Multiple Comparison of Means - Tukey HSD, FWER=0.05   \n","=========================================================\n"," group1    group2   meandiff p-adj   lower  upper  reject\n","---------------------------------------------------------\n","Hospital   Practice   -0.406 0.2254 -0.9538 0.1418  False\n","Hospital   Research   3.3495    0.0  1.6635 5.0356   True\n","Hospital University   2.2287    0.0  1.5207 2.9367   True\n","Practice   Research   3.7556    0.0  2.0856 5.4255   True\n","Practice University   2.6347    0.0  1.9659 3.3034   True\n","Research University  -1.1209  0.341   -2.85 0.6083  False\n","---------------------------------------------------------\n"]}]},{"cell_type":"markdown","source":["## Supplement 4... ObjectiveAssessment"],"metadata":{"id":"Cgs5Z39iYkQC"}},{"cell_type":"code","execution_count":null,"metadata":{"id":"XBAYmN1ESWU-","colab":{"base_uri":"https://localhost:8080/","height":1000},"executionInfo":{"status":"ok","timestamp":1701008716902,"user_tz":-60,"elapsed":4501,"user":{"displayName":"M. V.","userId":"14299655237261780537"}},"outputId":"f319272f-8794-4eaa-f5f0-06b8b0e7c3c8"},"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"dc3a55af-98c8-4a02-baca-a963559976ab\" class=\"plotly-graph-div\" style=\"height:1300px; width:800px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"dc3a55af-98c8-4a02-baca-a963559976ab\")) {                    Plotly.newPlot(                        \"dc3a55af-98c8-4a02-baca-a963559976ab\",                        [{\"name\":\"Abstract\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.5581395348837209,0.7126436781609196,0.684931506849315,0.73125,0.7341040462427746],\"type\":\"bar\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"name\":\"Levels of evidence\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.4418604651162791,0.40229885057471265,0.5342465753424658,0.56875,0.6127167630057804],\"type\":\"bar\",\"xaxis\":\"x3\",\"yaxis\":\"y3\"},{\"name\":\"Citation guidelines\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.4511627906976744,0.5172413793103449,0.4429223744292237,0.525,0.5606936416184971],\"type\":\"bar\",\"xaxis\":\"x5\",\"yaxis\":\"y5\"},{\"name\":\"Good Scientific Practice\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.4046511627906977,0.3218390804597701,0.3515981735159817,0.3625,0.3872832369942196],\"type\":\"bar\",\"xaxis\":\"x7\",\"yaxis\":\"y7\"},{\"name\":\"inductive research\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.13488372093023257,0.09195402298850575,0.1050228310502283,0.15,0.15028901734104047],\"type\":\"bar\",\"xaxis\":\"x9\",\"yaxis\":\"y9\"},{\"name\":\"Randomisation\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.5441860465116279,0.45977011494252873,0.5981735159817352,0.71875,0.6936416184971098],\"type\":\"bar\",\"xaxis\":\"x2\",\"yaxis\":\"y2\"},{\"name\":\"Skalentypen\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.12558139534883722,0.21839080459770116,0.4246575342465753,0.5625,0.47398843930635837],\"type\":\"bar\",\"xaxis\":\"x4\",\"yaxis\":\"y4\"},{\"name\":\"Bias\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.2744186046511628,0.5057471264367817,0.7031963470319634,0.7125,0.791907514450867],\"type\":\"bar\",\"xaxis\":\"x6\",\"yaxis\":\"y6\"},{\"name\":\"Research question and hypothesis\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.3395348837209302,0.47126436781609193,0.3835616438356164,0.45625,0.4277456647398844],\"type\":\"bar\",\"xaxis\":\"x8\",\"yaxis\":\"y8\"},{\"name\":\"Promotion determination\",\"x\":[1.0,2.0,3.0,4.0,5.0],\"y\":[0.4,0.20689655172413793,0.3150684931506849,0.44375,0.6358381502890174],\"type\":\"bar\",\"xaxis\":\"x10\",\"yaxis\":\"y10\"}],                        {\"template\":{\"data\":{\"histogram2dcontour\":[{\"type\":\"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\"]]}],\"choropleth\":[{\"type\":\"choropleth\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"histogram2d\":[{\"type\":\"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\"]]}],\"heatmap\":[{\"type\":\"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\"]]}],\"heatmapgl\":[{\"type\":\"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\"]]}],\"contourcarpet\":[{\"type\":\"contourcarpet\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"contour\":[{\"type\":\"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\"]]}],\"surface\":[{\"type\":\"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\"]]}],\"mesh3d\":[{\"type\":\"mesh3d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"parcoords\":[{\"type\":\"parcoords\",\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"type\":\"scatterpolargl\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"bar\":[{\"error_x\":{\"color\":\"#2a3f5f\"},\"error_y\":{\"color\":\"#2a3f5f\"},\"marker\":{\"line\":{\"color\":\"#E5ECF6\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"scattergeo\":[{\"type\":\"scattergeo\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterpolar\":[{\"type\":\"scatterpolar\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"scattergl\":[{\"type\":\"scattergl\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatter3d\":[{\"type\":\"scatter3d\",\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scattermapbox\":[{\"type\":\"scattermapbox\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterternary\":[{\"type\":\"scatterternary\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scattercarpet\":[{\"type\":\"scattercarpet\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"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\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"#EBF0F8\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"#C8D4E3\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}],\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"#E5ECF6\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}]},\"layout\":{\"autotypenumbers\":\"strict\",\"colorway\":[\"#636efa\",\"#EF553B\",\"#00cc96\",\"#ab63fa\",\"#FFA15A\",\"#19d3f3\",\"#FF6692\",\"#B6E880\",\"#FF97FF\",\"#FECB52\"],\"font\":{\"color\":\"#2a3f5f\"},\"hovermode\":\"closest\",\"hoverlabel\":{\"align\":\"left\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"#E5ECF6\",\"polar\":{\"bgcolor\":\"#E5ECF6\",\"angularaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"radialaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"}},\"ternary\":{\"bgcolor\":\"#E5ECF6\",\"aaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"baxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"caxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"}},\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"colorscale\":{\"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\"]],\"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\"]]},\"xaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\",\"automargin\":true,\"zerolinewidth\":2},\"yaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\",\"automargin\":true,\"zerolinewidth\":2},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\",\"gridwidth\":2},\"yaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\",\"gridwidth\":2},\"zaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\",\"gridwidth\":2}},\"shapedefaults\":{\"line\":{\"color\":\"#2a3f5f\"}},\"annotationdefaults\":{\"arrowcolor\":\"#2a3f5f\",\"arrowhead\":0,\"arrowwidth\":1},\"geo\":{\"bgcolor\":\"white\",\"landcolor\":\"#E5ECF6\",\"subunitcolor\":\"white\",\"showland\":true,\"showlakes\":true,\"lakecolor\":\"white\"},\"title\":{\"x\":0.05},\"mapbox\":{\"style\":\"light\"}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.88,1.0],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis2\":{\"anchor\":\"y2\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis2\":{\"anchor\":\"x2\",\"domain\":[0.88,1.0],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis3\":{\"anchor\":\"y3\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis3\":{\"anchor\":\"x3\",\"domain\":[0.66,0.78],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis4\":{\"anchor\":\"y4\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis4\":{\"anchor\":\"x4\",\"domain\":[0.66,0.78],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis5\":{\"anchor\":\"y5\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis5\":{\"anchor\":\"x5\",\"domain\":[0.44,0.56],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis6\":{\"anchor\":\"y6\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis6\":{\"anchor\":\"x6\",\"domain\":[0.44,0.56],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis7\":{\"anchor\":\"y7\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis7\":{\"anchor\":\"x7\",\"domain\":[0.22,0.33999999999999997],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis8\":{\"anchor\":\"y8\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis8\":{\"anchor\":\"x8\",\"domain\":[0.22,0.33999999999999997],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis9\":{\"anchor\":\"y9\",\"domain\":[0.0,0.45],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis9\":{\"anchor\":\"x9\",\"domain\":[0.0,0.12],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"xaxis10\":{\"anchor\":\"y10\",\"domain\":[0.55,1.0],\"title\":{\"text\":\"academic year\"},\"dtick\":1},\"yaxis10\":{\"anchor\":\"x10\",\"domain\":[0.0,0.12],\"title\":{\"text\":\"Propotion of students\"},\"range\":[0,1],\"dtick\":0.2},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Abstract\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Randomisation\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Levels of evidence\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.78,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Scale types\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.78,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Citation guidelines\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.56,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Bias\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.56,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Good Scientific Practice\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.33999999999999997,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Research question and hypothesis\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.33999999999999997,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"inductive research\",\"x\":0.225,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.12,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Promotion determination\",\"x\":0.775,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.12,\"yanchor\":\"bottom\",\"yref\":\"paper\"}],\"title\":{\"text\":\"Percentage of correct answers on competency test over academic year\"},\"height\":1300,\"width\":800,\"showlegend\":false},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('dc3a55af-98c8-4a02-baca-a963559976ab');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}],"source":["#Subplot für alle K-Aufgaben - supplementfigure\n","df_original = pd.read_csv(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/LCWissDD-df_shorter.csv\")\n","df_original['Studienjahr'] = df_original['Fachsemester'].apply(lambda x: np.ceil(x / 2))\n","df_filtered = df_original[df_original['Studienjahr'].isin(range(1, 6))]\n","# Berechne die Durchschnittswerte gruppiert nach 'Studienjahr\n","grouped = df_filtered.groupby('Studienjahr')[['W01pkt', 'W02pkt', 'W03pkt','W04pkt', 'W05pkt', 'W06pkt','W07pkt', 'W08pkt', 'W09pkt','W10pkt']].mean()\n","\n","fig = make_subplots(rows=5, cols=2, subplot_titles=('Abstract', 'Randomisation', 'Levels of evidence','Scale types', 'Citation guidelines', 'Bias','Good Scientific Practice', 'Research question and hypothesis', 'inductive research','Promotion determination'))\n","\n","# Füge die Daten für jede der drei Spalten hinzu\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W01pkt'], name='Abstract'), row=1, col=1)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W03pkt'], name='Levels of evidence'), row=2, col=1)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W05pkt'], name='Citation guidelines'), row=3, col=1)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W07pkt'], name='Good Scientific Practice'), row=4, col=1)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W09pkt'], name='inductive research'), row=5, col=1)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W02pkt'], name='Randomisation'), row=1, col=2)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W04pkt'], name='Skalentypen'), row=2, col=2)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W06pkt'], name='Bias'), row=3, col=2)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W08pkt'], name='Research question and hypothesis'), row=4, col=2)\n","fig.add_trace(go.Bar(x=grouped.index, y=grouped['W10pkt'], name='Promotion determination'), row=5, col=2)\n","\n","# Aktualisiere die Layout-Einstellungen\n","fig.update_layout(height=1300, width=800, title_text=\"Percentage of correct answers on competency test over academic year\", showlegend=False)\n","fig.update_yaxes(title=\"Propotion of students\",range=[0, 1], dtick=0.2)\n","fig.update_xaxes(title=\"academic year\", dtick=1)\n","fig.show()\n","# Speichern Sie die Figur als HTML und als Bild\n","#fig.write_html(\"image_Export/Paper_Dresden/W_Pkt-Jahr.html\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/Supplement-ObjeAssessment.png\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/Supplement-ObjeAssessment.svg\")"]},{"cell_type":"markdown","source":["## Figure 5 - SelfAssessment 5AY"],"metadata":{"id":"F5JgJVpDYrDE"}},{"cell_type":"code","source":["df_original = pd.read_csv(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/LCWissDD-df_shorter.csv\")\n","df = df_original\n","df = df[df['Fachsemester'] > 8]\n","#Aussagen: Ich bin zufrieden mit W.Curriculum an meiner Fakultät für alle Jahrgänge - horizontal stacked Barplot\n","show1 = df[\"E010[SQ012]\"].value_counts(normalize=True) * 100\n","show2 = df[\"E010[SQ009]\"].value_counts(normalize=True) * 100\n","show3 = df[\"E010[SQ003]\"].value_counts(normalize=True) * 100\n","show4 = df[\"E010[SQ002]\"].value_counts(normalize=True) * 100\n","showUlt = pd.concat([show1, show2, show3, show4], axis=1)\n","showUlt =showUlt.transpose()\n","husten=[' working on research project', '\"good scientific practice\"', ' critical literature analysis', ' literature research',]\n","\n","fig = go.Figure()\n","fig.add_trace(go.Bar(x=showUlt[4], name=\"independent performance\", y=husten, orientation='h',\n","                     text=showUlt[4].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=5,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#004F70\")))\n","fig.add_trace(go.Bar(x=showUlt[3], name=\"supervised performance\", y=husten, orientation='h',\n","                     text=showUlt[3].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=4,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#006AB3\")))\n","fig.add_trace(go.Bar(x=showUlt[2], name=\"can explain\", y=husten, orientation='h',\n","                     text=showUlt[2].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=3,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#38AEFF\")))\n","fig.add_trace(go.Bar(x=showUlt[1], name=\"know what\", y=husten, orientation='h',\n","                     text=showUlt[1].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=2,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#7BC9FF\")))\n","fig.add_trace(go.Bar(x=showUlt[0], name=\"can do nothing\", y=husten, orientation='h',\n","                     text=showUlt[0].apply(lambda x: f\"{x:.1f}\"),\n","                     textposition=\"inside\", legendrank=1,\n","                     textangle=270,\n","                     marker=dict(line=dict(width=1), color=\"#BDE4FF \")))\n","\n","# Prozentwerte für die Schraffur\n","prozentwerte = [24.6, 30.8,  16.0,40.6,]\n","\n","# Hinzufügen der Schraffur-Spuren\n","for i, wert in enumerate(prozentwerte):\n","    fig.add_trace(go.Bar(\n","        x=[wert], y=[husten[i]],\n","        base=0,\n","        orientation='h', name=\"Target reached\",\n","        marker=dict(\n","            color='rgba(0,0,0,0)',  # Transparente Farbe\n","            #pattern_shape=\"/\",\n","            line_color='rgb(0,0,0,0.6)',\n","            line_width=5,\n","        ),\n","        showlegend=False\n","    ))\n","\n","for i, wert in enumerate(prozentwerte):\n","    fig.add_trace(go.Bar(\n","        x=[100 - wert], y=[husten[i]],\n","        orientation='h',\n","        base=wert,  # Start der Balken bei dem Ende der ersten Schraffur\n","        marker=dict(\n","            color='rgba(0,0,0,0)',  # Transparente Farbe\n","            #pattern_shape=\".\",\n","            line_color='rgb(142,73,101,0.6)',\n","            line_width=5,\n","        ),\n","        showlegend=False\n","    ))\n","\n","fig.add_trace(go.Bar(\n","    x=[None], y=[None],\n","    marker=dict(color='rgba(255,255,255,0)'),  # Vollständig transparent\n","    showlegend=True,\n","    name=\"\"  # Kein Name, dient nur als Platzhalter\n","))\n","\n","fig.add_trace(go.Bar(\n","    x=[None], y=[None],\n","    marker=dict(\n","        color='rgba(0,0,0,0)',\n","        #pattern_shape=\"/\",\n","        line_color='rgb(0,0,0,0.6)',\n","        line_width=5,\n","    ),\n","    name=\"reached\"\n","))\n","\n","fig.add_trace(go.Bar(\n","    x=[None], y=[None],\n","    marker=dict(\n","        color='rgba(0,0,0,0)',\n","        #pattern_shape=\".\",\n","        line_color='rgb(142,73,101,0.6)',\n","        line_width=5,\n","    ),\n","    name=\"not reached\"\n","))\n","\n","# Anpassen des Layouts, einschließlich der Legende\n","fig.update_layout(\n","    legend=dict(\n","        yanchor=\"top\",\n","        y=1,  # Position der Legende anpassen, um beide Reihen einzuschließen\n","        xanchor=\"left\",\n","        x=1.05\n","    ),\n","    annotations=[\n","        dict(\n","            xref=\"paper\", yref=\"paper\",\n","            x=1.05, y=0.855,\n","            text=\"Self assessed competence:\",\n","            showarrow=False,\n","            yanchor=\"top\",\n","            xanchor=\"left\",\n","            font=dict(\n","                size=14,\n","                color=\"black\"\n","            )\n","        )\n","    ]\n",")\n","\n","fig.update_layout(shapes=[\n","    dict(\n","        type='line',\n","        x0=50,\n","        y0=-0.5,\n","        x1=50,\n","        y1=len(husten)-0.5,\n","        line=dict(\n","            color='black',\n","            width=1.5,\n","            dash='dash'\n","        )\n","    )\n","],barmode='stack', template=\"simple_white\",\n","                  title=\"Self-assessment in the 5th year according to NKLM 2.0 for ...\",\n","                  yaxis=dict(title=\"\", title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  xaxis=dict(title=\"% of participants\", tickmode='linear', dtick=10, range=[0, 100], title_font=dict( size=18,),tickfont=dict(size=16,),),\n","                  legend=dict(title=\"Target Competence by NKLM:\"),\n","                  height=600, width=1000,\n","                  title_x=0.5,)\n","\n","fig.show()\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ002.svg\")\n","fig.write_image(\"/content/drive/MyDrive/Auswertung_LCWissUmfrage/image_export/Paper_Dresden/E040SQ002.png\")"],"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":617},"id":"o9C_VNIV7BYE","executionInfo":{"status":"ok","timestamp":1701082611365,"user_tz":-60,"elapsed":2246,"user":{"displayName":"M. V.","userId":"14299655237261780537"}},"outputId":"7fedf106-0d73-47c9-f958-8937438f0c24"},"execution_count":null,"outputs":[{"output_type":"display_data","data":{"text/html":["<html>\n","<head><meta charset=\"utf-8\" /></head>\n","<body>\n","    <div>            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script>                <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n","        <script charset=\"utf-8\" src=\"https://cdn.plot.ly/plotly-2.24.1.min.js\"></script>                <div id=\"1b216c86-3b96-440d-9808-99c353342921\" class=\"plotly-graph-div\" style=\"height:600px; width:1000px;\"></div>            <script type=\"text/javascript\">                                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"1b216c86-3b96-440d-9808-99c353342921\")) {                    Plotly.newPlot(                        \"1b216c86-3b96-440d-9808-99c353342921\",                        [{\"legendrank\":5,\"marker\":{\"color\":\"#004F70\",\"line\":{\"width\":1}},\"name\":\"independent performance\",\"orientation\":\"h\",\"text\":[\"6.9\",\"17.7\",\"16.0\",\"30.3\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[6.857142857142858,17.71428571428571,16.0,30.28571428571429],\"y\":[\" working on research project\",\"\\\"good scientific practice\\\"\",\" critical literature analysis\",\" literature research\"],\"type\":\"bar\"},{\"legendrank\":4,\"marker\":{\"color\":\"#006AB3\",\"line\":{\"width\":1}},\"name\":\"supervised performance\",\"orientation\":\"h\",\"text\":[\"17.7\",\"13.1\",\"13.7\",\"10.3\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[17.71428571428571,13.142857142857142,13.714285714285715,10.285714285714285],\"y\":[\" working on research project\",\"\\\"good scientific practice\\\"\",\" critical literature analysis\",\" literature research\"],\"type\":\"bar\"},{\"legendrank\":3,\"marker\":{\"color\":\"#38AEFF\",\"line\":{\"width\":1}},\"name\":\"can explain\",\"orientation\":\"h\",\"text\":[\"12.6\",\"13.1\",\"12.6\",\"11.4\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[12.571428571428573,13.142857142857142,12.571428571428573,11.428571428571429],\"y\":[\" working on research project\",\"\\\"good scientific practice\\\"\",\" critical literature analysis\",\" literature research\"],\"type\":\"bar\"},{\"legendrank\":2,\"marker\":{\"color\":\"#7BC9FF\",\"line\":{\"width\":1}},\"name\":\"know what\",\"orientation\":\"h\",\"text\":[\"35.4\",\"32.0\",\"31.4\",\"36.6\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[35.42857142857142,32.0,31.428571428571427,36.57142857142857],\"y\":[\" working on research project\",\"\\\"good scientific practice\\\"\",\" critical literature analysis\",\" literature research\"],\"type\":\"bar\"},{\"legendrank\":1,\"marker\":{\"color\":\"#BDE4FF \",\"line\":{\"width\":1}},\"name\":\"can do nothing\",\"orientation\":\"h\",\"text\":[\"27.4\",\"24.0\",\"26.3\",\"11.4\"],\"textangle\":-90,\"textposition\":\"inside\",\"x\":[27.42857142857143,24.0,26.285714285714285,11.428571428571429],\"y\":[\" working on research project\",\"\\\"good scientific practice\\\"\",\" critical literature analysis\",\" literature research\"],\"type\":\"bar\"},{\"base\":0,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(0,0,0,0.6)\",\"width\":5}},\"name\":\"Target reached\",\"orientation\":\"h\",\"showlegend\":false,\"x\":[24.6],\"y\":[\" working on research project\"],\"type\":\"bar\"},{\"base\":0,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(0,0,0,0.6)\",\"width\":5}},\"name\":\"Target reached\",\"orientation\":\"h\",\"showlegend\":false,\"x\":[30.8],\"y\":[\"\\\"good scientific practice\\\"\"],\"type\":\"bar\"},{\"base\":0,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(0,0,0,0.6)\",\"width\":5}},\"name\":\"Target reached\",\"orientation\":\"h\",\"showlegend\":false,\"x\":[16.0],\"y\":[\" critical literature analysis\"],\"type\":\"bar\"},{\"base\":0,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(0,0,0,0.6)\",\"width\":5}},\"name\":\"Target reached\",\"orientation\":\"h\",\"showlegend\":false,\"x\":[40.6],\"y\":[\" literature research\"],\"type\":\"bar\"},{\"base\":24.6,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(142,73,101,0.6)\",\"width\":5}},\"orientation\":\"h\",\"showlegend\":false,\"x\":[75.4],\"y\":[\" working on research project\"],\"type\":\"bar\"},{\"base\":30.8,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(142,73,101,0.6)\",\"width\":5}},\"orientation\":\"h\",\"showlegend\":false,\"x\":[69.2],\"y\":[\"\\\"good scientific practice\\\"\"],\"type\":\"bar\"},{\"base\":16.0,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(142,73,101,0.6)\",\"width\":5}},\"orientation\":\"h\",\"showlegend\":false,\"x\":[84.0],\"y\":[\" critical literature analysis\"],\"type\":\"bar\"},{\"base\":40.6,\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(142,73,101,0.6)\",\"width\":5}},\"orientation\":\"h\",\"showlegend\":false,\"x\":[59.4],\"y\":[\" literature research\"],\"type\":\"bar\"},{\"marker\":{\"color\":\"rgba(255,255,255,0)\"},\"name\":\"\",\"showlegend\":true,\"x\":[null],\"y\":[null],\"type\":\"bar\"},{\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(0,0,0,0.6)\",\"width\":5}},\"name\":\"reached\",\"x\":[null],\"y\":[null],\"type\":\"bar\"},{\"marker\":{\"color\":\"rgba(0,0,0,0)\",\"line\":{\"color\":\"rgb(142,73,101,0.6)\",\"width\":5}},\"name\":\"not reached\",\"x\":[null],\"y\":[null],\"type\":\"bar\"}],                        {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(36,36,36)\"},\"error_y\":{\"color\":\"rgb(36,36,36)\"},\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"baxis\":{\"endlinecolor\":\"rgb(36,36,36)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(36,36,36)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"line\":{\"color\":\"white\",\"width\":0.6}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"},\"colorscale\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":1,\"tickcolor\":\"rgb(36,36,36)\",\"ticks\":\"outside\"}},\"colorscale\":{\"diverging\":[[0.0,\"rgb(103,0,31)\"],[0.1,\"rgb(178,24,43)\"],[0.2,\"rgb(214,96,77)\"],[0.3,\"rgb(244,165,130)\"],[0.4,\"rgb(253,219,199)\"],[0.5,\"rgb(247,247,247)\"],[0.6,\"rgb(209,229,240)\"],[0.7,\"rgb(146,197,222)\"],[0.8,\"rgb(67,147,195)\"],[0.9,\"rgb(33,102,172)\"],[1.0,\"rgb(5,48,97)\"]],\"sequential\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]],\"sequentialminus\":[[0.0,\"#440154\"],[0.1111111111111111,\"#482878\"],[0.2222222222222222,\"#3e4989\"],[0.3333333333333333,\"#31688e\"],[0.4444444444444444,\"#26828e\"],[0.5555555555555556,\"#1f9e89\"],[0.6666666666666666,\"#35b779\"],[0.7777777777777778,\"#6ece58\"],[0.8888888888888888,\"#b5de2b\"],[1.0,\"#fde725\"]]},\"colorway\":[\"#1F77B4\",\"#FF7F0E\",\"#2CA02C\",\"#D62728\",\"#9467BD\",\"#8C564B\",\"#E377C2\",\"#7F7F7F\",\"#BCBD22\",\"#17BECF\"],\"font\":{\"color\":\"rgb(36,36,36)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"white\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"white\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"radialaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"zaxis\":{\"backgroundcolor\":\"white\",\"gridcolor\":\"rgb(232,232,232)\",\"gridwidth\":2,\"linecolor\":\"rgb(36,36,36)\",\"showbackground\":true,\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"},\"bgcolor\":\"white\",\"caxis\":{\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"rgb(232,232,232)\",\"linecolor\":\"rgb(36,36,36)\",\"showgrid\":false,\"showline\":true,\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zeroline\":false,\"zerolinecolor\":\"rgb(36,36,36)\"}}},\"legend\":{\"yanchor\":\"top\",\"y\":1,\"xanchor\":\"left\",\"x\":1.05,\"title\":{\"text\":\"Target Competence by NKLM:\"}},\"annotations\":[{\"font\":{\"color\":\"black\",\"size\":14},\"showarrow\":false,\"text\":\"Self assessed competence:\",\"x\":1.05,\"xanchor\":\"left\",\"xref\":\"paper\",\"y\":0.855,\"yanchor\":\"top\",\"yref\":\"paper\"}],\"yaxis\":{\"title\":{\"text\":\"\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16}},\"xaxis\":{\"title\":{\"text\":\"% of participants\",\"font\":{\"size\":18}},\"tickfont\":{\"size\":16},\"tickmode\":\"linear\",\"dtick\":10,\"range\":[0,100]},\"title\":{\"text\":\"Self-assessment in the 5th year according to NKLM 2.0 for ...\",\"x\":0.5},\"shapes\":[{\"line\":{\"color\":\"black\",\"dash\":\"dash\",\"width\":1.5},\"type\":\"line\",\"x0\":50,\"x1\":50,\"y0\":-0.5,\"y1\":3.5}],\"barmode\":\"stack\",\"height\":600,\"width\":1000},                        {\"responsive\": true}                    ).then(function(){\n","                            \n","var gd = document.getElementById('1b216c86-3b96-440d-9808-99c353342921');\n","var x = new MutationObserver(function (mutations, observer) {{\n","        var display = window.getComputedStyle(gd).display;\n","        if (!display || display === 'none') {{\n","            console.log([gd, 'removed!']);\n","            Plotly.purge(gd);\n","            observer.disconnect();\n","        }}\n","}});\n","\n","// Listen for the removal of the full notebook cells\n","var notebookContainer = gd.closest('#notebook-container');\n","if (notebookContainer) {{\n","    x.observe(notebookContainer, {childList: true});\n","}}\n","\n","// Listen for the clearing of the current output cell\n","var outputEl = gd.closest('.output');\n","if (outputEl) {{\n","    x.observe(outputEl, {childList: true});\n","}}\n","\n","                        })                };                            </script>        </div>\n","</body>\n","</html>"]},"metadata":{}}]}],"metadata":{"colab":{"provenance":[],"toc_visible":true},"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.5"},"orig_nbformat":4},"nbformat":4,"nbformat_minor":0}