{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "##
The perfect balanced tree representing players and matches at a tennis Grand Slam.
Australian Open, 2022. Women's singles
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "AUS Open is a tennis tournament attended by $𝑁=128=2^7$ women players. It is a balanced knokout tournament, \n", "consisting in 7 rounds. Before the starting a draw is released for the first round.\n", "Then succesivelly, the $(2𝑘-1)^{th}$ and $(2𝑘)^{th}$ winners in a round, $r\\geq 1$, $𝑘=1,...,2^{7-r}$ play together in the $(r+1)^{th}$ round. After the $6^{th}$ round the last two players have the final match, and the winner is the winner of the Grand Slam. The whole process is visualized by WTA as a balanced binary tree, having as root the tournament's winner, and the as tree nodes, the players in each round. The parent of a pair (2𝑘-1,2𝑘) playing in a round r is the winner of the corresponding match.\n", "\n", "We define as tree leafs the players from the second round, to avoid a cluttered tree visualization.\n", "The node positions, assigned by Shell network layout, are rotated by an angle to get a symmetric circular tree. \n", "The edges emanating from the a node pair (2k-1, 2k), representing players playing each other in the $r^{th}$, are drawn as a continuous/dotted line, depending on whether the match has been won/lost by that player.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The matches results are recorded in a csv file of 127 rows. The players from the second round are recorded in the lines $2^6:2^7-1$, i.e. 64:127, and similarly\n", "in the $r^{th}$, round, r=3, from $2^5:2^6-1$, and so on. In the $6^{th}$ round the finalists are recorded in the line 2 and 3,\n", "and the winner in the first line.\n", "\n", "Information on the match result is recorded in the column \"won_lost\". 1, repsectively 2, is the code for a won/lost match.\n" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "application/vnd.webio.node+json": { "children": [], "instanceArgs": { "namespace": "html", "tag": "div" }, "nodeType": "DOM", "props": {}, "type": "node" }, "text/html": [ "
\n", "

The WebIO Jupyter extension was not detected. See the\n", "\n", " WebIO Jupyter integration documentation\n", "\n", "for more information.\n", "

\n" ], "text/plain": [ "WebIO._IJuliaInit()" ] }, "metadata": { "application/vnd.webio.node+json": { "kernelId": "293b02dc-9d90-493e-bc5a-d39a04357d40" } }, "output_type": "display_data" } ], "source": [ "using DataFrames, CSV, Graphs, PlotlyJS\n", "import NetworkLayout:Shell\n", "import LinearAlgebra:norm\n", "include(\"myutils.jl\");" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "set_annotation (generic function with 3 methods)" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "function rot2d(t)\n", " return [cos(t) -sin(t); sin(t) cos(t)]\n", "end \n", "\n", "function set_annotation(x, y, anno_text, textangle, fontsize=11, color=\"white\")\n", " return attr(x= x, \n", " y= y, \n", " text= anno_text, \n", " textangle=textangle,#angle with horizontal line through (x,y), in degrees;\n", " #+ =clockwise, -=anti-clockwise\n", " font= attr(size=fontsize, color=color), \n", " showarrow=false) \n", "end " ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "h = 6\n", "N = 2^(h+1)-1\n", "V = collect(1:N)\n", "#get edges of a perfect balanced tree\n", "E = perfect_balanced_tree_edges();\n", "El = vcat([(0,0)], E);" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "df = CSV.File(\"data/AUS-open-2022.csv\") |> DataFrame ;\n", "@assert(size(df, 1)==N)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "G = SimpleGraph(N)\n", "for e in E[1:end-1]\n", " add_edge!(G, e[1], e[2])\n", "end \n", "\n", "n = vcat([[1]], [collect(2^k:2^(k+1)-1) for k in 1:h])\n", "A = Matrix{Int}(adjacency_matrix(G)) #adjacency_matrix(G) is a sparse matrix\n", "node_pos = Shell(; nlist=n)(A)\n", "node_pos = mapreduce(permutedims, vcat, node_pos);\n", "\n", "rnode_pos = copy(node_pos')\n", "for (k, nodes) in enumerate(n[2:end]) \n", " I = 2^k:2^(k+1)-1\n", " rnode_pos[:, I] = rot2d(π/length(nodes)) * node_pos'[:, I]\n", "end \n", "\n", "#retrieve indices for players which lost/won a match\n", "I = findall(idx->idx == 2, df[!, :won_lost]);\n", "J = findall(idx->idx == 1, df[!, :won_lost]);\n", "#coordinates of nodes representing players which lost/won the match that leads to \"this\" node \n", "xel, yel = get_plotly_data(El[I], rnode_pos'[:,1], rnode_pos'[:,2]);\n", "xew, yew = get_plotly_data(El[J], rnode_pos'[:,1], rnode_pos'[:,2]);" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "node_tr = get_node_trace(rnode_pos'[:,1], rnode_pos'[:,2], String.(df[!,:name]); \n", " marker_color=\"rgb(255, 200, 0)\", marker_size=10,\n", " linecolor=\"rgb(255, 200, 0)\")\n", "\n", "# an edge emanating from a player that lost \"this\" match in the r^th round \n", "# to the winner in the (r+1)^th round\n", "# is a dotted line, and a continuous one from winner to herself:\n", "\n", "edgel_tr = get_edge_trace(xel, yel; linecolor=\"rgb(210,210,210)\" , linewidth=1)\n", "push!(edgel_tr[\"line\"], \"dash\"=>\"dot\") #dotted edge\n", "\n", "edgew_tr = get_edge_trace(xew, yew; linecolor=\"rgb(210,210,210)\" , linewidth=1)# continuous edge\n", "\n", "# draw circles through the nodes representing players which played in quarterfinal, semifinal, resp final\n", "shapes = [attr(type=\"circle\",\n", " xref=\"x\", yref=\"y\",\n", " x0=-1.0, y0=-1.0, x1=1.0, y1=1.0,\n", " line=attr(color=\"rgb(210,210,210)\", width=0.5 )),\n", " attr(type=\"circle\",\n", " xref=\"x\", yref=\"y\",\n", " x0=-2.0, y0=-2.0, x1=2.0, y1=2.0,\n", " line=attr(color=\"rgb(210,210,210)\", width=0.5 )),\n", " attr(type=\"circle\",\n", " xref=\"x\", yref=\"y\",\n", " x0=-3.0, y0=-3.0, x1=3.0, y1=3.0,\n", " line=attr(color=\"rgb(210,210,210)\", width=0.5))]\n", "\n", "angles = []# angle of the radius direction through each leaf (player in the 2nd round)\n", "for k in 64:127\n", " push!(angles, -(180*atan(rnode_pos[2, k]/rnode_pos[1, k])/pi))\n", "end \n", "# to display player names approximately at the same distance from leafs\n", "# extract the maximum length, depending on leaf index\n", "# and add some spaces for shorter names\n", "pos_text = 1.2* rnode_pos[:, 64:127]\n", "slength1 = []\n", "for s in df[64:79, :name]\n", " push!(slength1, length(s))\n", "end \n", "for s in df[112:127, :name]\n", " push!(slength1, length(s))\n", "end \n", "l1 = maximum(slength1)\n", "\n", "slength2 = []\n", "for s in df[80:111, :name]\n", " push!(slength2, length(s))\n", "end \n", "l2 = maximum(slength2)\n", "player_name=[]\n", "for pname in df[64:79, :name]\n", " push!(player_name, \" \"^(2)*pname*\" \"^(l1-length(pname)))\n", "end\n", "\n", "for pname in df[80:111, :name]\n", " push!(player_name,\" \"^(l2+2-length(pname))*pname*\" \")\n", "end\n", "for pname in df[112:127, :name]\n", " push!(player_name, \" \"^(2)*pname*\" \"^(l1-length(pname)))\n", "end\n", "annotations = []\n", "for k in 64:127\n", " push!(annotations, \n", " set_annotation(pos_text[1, k-63], \n", " pos_text[2, k-63][1], \n", " player_name[k-63], \n", " angles[k-63]))\n", "end\n" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "editable": false, "responsive": true, "scrollZoom": true, "showLink": false, "staticPlot": false }, "data": [ { "hoverinfo": "none", "line": { "color": "rgb(210,210,210)", "width": 1 }, "mode": "lines", "type": "scatter", "x": [ 0, 6.123233995736766e-17, null, 6.123233995736766e-17, 1.4142135623730951, null, -1.8369701987210297e-16, -1.4142135623730954, null, 1.4142135623730951, 2.77163859753386, null, -1.414213562373095, -2.7716385975338604, null, -1.4142135623730954, -2.77163859753386, null, 1.4142135623730947, 1.1480502970952688, null, 2.77163859753386, 3.9231411216129217, null, 1.1480502970952697, 2.222280932078409, null, -1.148050297095269, -0.7803612880645128, null, -2.7716385975338604, -3.3258784492101805, null, -2.77163859753386, -3.9231411216129217, null, -1.1480502970952697, -0.7803612880645155, null, 1.1480502970952688, 0.7803612880645123, null, 2.77163859753386, 3.32587844921018, null, 3.9231411216129217, 4.975923633360985, null, 3.3258784492101805, 4.409606321741776, null, 2.222280932078409, 2.3569836841299887, null, 0.7803612880645133, 0.49008570164780335, null, -0.7803612880645128, -0.49008570164780274, null, -2.2222809320784087, -2.356983684129988, null, -3.3258784492101805, -3.865052266813685, null, -3.9231411216129217, -4.975923633360985, null, -3.9231411216129217, -4.784701678661044, null, -3.3258784492101814, -4.409606321741776, null, -2.2222809320784096, -3.1719664208182285, null, -0.7803612880645155, -0.4900857016478051, null, 0.7803612880645123, 0.49008570164780213, null, 2.2222809320784096, 2.3569836841299896, null, 3.32587844921018, 3.8650522668136844, null, 3.9231411216129213, 4.975923633360984, null, 4.975923633360985, 5.992772737231034, null, 4.784701678661044, 5.649264391098125, null, 4.409606321741776, 5.146371660001633, null, 3.8650522668136853, 4.445706752129754, null, 3.1719664208182277, 4.029353729082111, null, 2.3569836841299887, 2.5653305605816934, null, 1.451423386272312, 2.021339120353321, null, 0.49008570164780335, 0.29440604596450903, null, -0.49008570164780274, -0.2944060459645077, null, -1.4514233862723116, -2.021339120353319, null, -2.356983684129988, -2.5653305605816925, null, -3.1719664208182263, -4.02935372908211, null, -3.865052266813685, -4.445706752129754, null, -4.409606321741776, -5.42393575874066, null, -4.784701678661045, -5.8201875191672645, null, -4.975923633360985, -5.992772737231035, null, -4.975923633360985, -5.935059059788686, null, -4.784701678661044, -5.649264391098125, null, -4.409606321741776, -5.42393575874066, null, -3.865052266813686, -4.819245188883871, null, -3.1719664208182285, -4.029353729082111, null, -2.3569836841299883, -3.08461646515933, null, -1.4514233862723147, -2.021339120353324, null, -0.4900857016478051, -0.880382846732173, null, 0.49008570164780213, 0.294406045964507, null, 1.451423386272312, 2.021339120353318, null, 2.3569836841299896, 2.565330560581694, null, 3.171966420818226, 4.029353729082111, null, 3.8650522668136844, 4.4457067521297535, null, 4.409606321741776, 5.423935758740659, null, 4.784701678661043, 5.649264391098123, null, 4.975923633360984, 5.992772737231035, null ], "y": [ 0, 1, null, 1, 1.414213562373095, null, -1, -1.4142135623730947, null, 1.414213562373095, 1.1480502970952693, null, 1.4142135623730951, 1.1480502970952695, null, -1.4142135623730947, -1.1480502970952688, null, -1.4142135623730954, -2.7716385975338604, null, 1.1480502970952693, 0.780361288064513, null, 2.77163859753386, 3.3258784492101805, null, 2.7716385975338604, 3.9231411216129217, null, 1.1480502970952695, 2.222280932078409, null, -1.1480502970952688, -0.7803612880645125, null, -2.77163859753386, -3.9231411216129213, null, -2.7716385975338604, -3.9231411216129217, null, -1.1480502970952697, -2.2222809320784096, null, 0.780361288064513, 0.490085701647803, null, 2.2222809320784087, 2.3569836841299883, null, 3.3258784492101805, 4.409606321741776, null, 3.9231411216129217, 4.975923633360985, null, 3.9231411216129217, 4.975923633360985, null, 3.325878449210181, 4.409606321741776, null, 2.222280932078409, 3.1719664208182277, null, 0.7803612880645135, 0.49008570164780474, null, -0.7803612880645125, -1.4514233862723125, null, -2.2222809320784083, -2.356983684129988, null, -3.325878449210181, -3.865052266813685, null, -3.9231411216129213, -4.975923633360984, null, -3.9231411216129217, -4.975923633360985, null, -3.32587844921018, -4.409606321741775, null, -2.2222809320784096, -3.1719664208182285, null, -0.7803612880645158, -0.4900857016478054, null, 0.490085701647803, 0.2944060459645081, null, 1.4514233862723118, 2.0213391203533204, null, 2.3569836841299883, 3.08461646515933, null, 3.171966420818227, 4.029353729082111, null, 3.865052266813685, 4.445706752129754, null, 4.409606321741776, 5.42393575874066, null, 4.784701678661045, 5.649264391098124, null, 4.975923633360985, 5.992772737231034, null, 4.975923633360985, 5.992772737231035, null, 4.784701678661045, 5.649264391098125, null, 4.409606321741776, 5.42393575874066, null, 3.8650522668136853, 4.445706752129756, null, 3.1719664208182277, 4.029353729082111, null, 2.3569836841299883, 2.565330560581694, null, 1.4514233862723125, 1.4578810794195836, null, 0.49008570164780474, 0.2944060459645094, null, -0.4900857016478024, -0.8803828467321704, null, -1.4514233862723125, -2.021339120353319, null, -2.356983684129988, -2.565330560581692, null, -3.1719664208182268, -3.5741958269545986, null, -3.865052266813685, -4.445706752129754, null, -4.409606321741776, -5.146371660001632, null, -4.784701678661043, -5.649264391098123, null, -4.975923633360984, -5.935059059788685, null, -4.975923633360985, -5.992772737231035, null, -4.784701678661045, -5.649264391098125, null, -4.409606321741775, -5.42393575874066, null, -3.865052266813686, -4.445706752129754, null, -3.1719664208182285, -4.029353729082111, null, -2.3569836841299883, -2.5653305605816943, null, -1.4514233862723154, -2.021339120353324, null, -0.4900857016478054, -0.29440604596450753, null ] }, { "hoverinfo": "none", "line": { "color": "rgb(210,210,210)", "dash": "dot", "width": 1 }, "mode": "lines", "type": "scatter", "x": [ 0, -1.8369701987210297e-16, null, 6.123233995736766e-17, -1.414213562373095, null, -1.8369701987210297e-16, 1.4142135623730947, null, 1.4142135623730951, 1.1480502970952697, null, -1.414213562373095, -1.148050297095269, null, -1.4142135623730954, -1.1480502970952697, null, 1.4142135623730947, 2.77163859753386, null, 2.77163859753386, 3.3258784492101805, null, 1.1480502970952697, 0.7803612880645133, null, -1.148050297095269, -2.2222809320784087, null, -2.7716385975338604, -3.9231411216129217, null, -2.77163859753386, -3.3258784492101814, null, -1.1480502970952697, -2.2222809320784096, null, 1.1480502970952688, 2.2222809320784096, null, 2.77163859753386, 3.9231411216129213, null, 3.9231411216129217, 4.784701678661044, null, 3.3258784492101805, 3.8650522668136853, null, 2.222280932078409, 3.1719664208182277, null, 0.7803612880645133, 1.451423386272312, null, -0.7803612880645128, -1.4514233862723116, null, -2.2222809320784087, -3.1719664208182263, null, -3.3258784492101805, -4.409606321741776, null, -3.9231411216129217, -4.784701678661045, null, -3.9231411216129217, -4.975923633360985, null, -3.3258784492101814, -3.865052266813686, null, -2.2222809320784096, -2.3569836841299883, null, -0.7803612880645155, -1.4514233862723147, null, 0.7803612880645123, 1.451423386272312, null, 2.2222809320784096, 3.171966420818226, null, 3.32587844921018, 4.409606321741776, null, 3.9231411216129213, 4.784701678661043, null, 4.975923633360985, 5.935059059788686, null, 4.784701678661044, 5.820187519167264, null, 4.409606321741776, 5.423935758740659, null, 3.8650522668136853, 4.819245188883869, null, 3.1719664208182277, 3.5741958269546, null, 2.3569836841299887, 3.084616465159331, null, 1.451423386272312, 1.4578810794195831, null, 0.49008570164780335, 0.880382846732171, null, -0.49008570164780274, -0.8803828467321707, null, -1.4514233862723116, -1.457881079419583, null, -2.356983684129988, -3.0846164651593306, null, -3.1719664208182263, -3.5741958269545986, null, -3.865052266813685, -4.81924518888387, null, -4.409606321741776, -5.146371660001633, null, -4.784701678661045, -5.649264391098124, null, -4.975923633360985, -5.935059059788686, null, -4.975923633360985, -5.992772737231034, null, -4.784701678661044, -5.820187519167264, null, -4.409606321741776, -5.146371660001633, null, -3.865052266813686, -4.445706752129755, null, -3.1719664208182285, -3.5741958269546026, null, -2.3569836841299883, -2.5653305605816943, null, -1.4514233862723147, -1.4578810794195836, null, -0.4900857016478051, -0.29440604596450715, null, 0.49008570164780213, 0.8803828467321675, null, 1.451423386272312, 1.4578810794195836, null, 2.3569836841299896, 3.08461646515933, null, 3.171966420818226, 3.574195826954598, null, 3.8650522668136844, 4.819245188883867, null, 4.409606321741776, 5.146371660001632, null, 4.784701678661043, 5.8201875191672645, null, 4.975923633360984, 5.935059059788685, null ], "y": [ 0, -1, null, 1, 1.4142135623730951, null, -1, -1.4142135623730954, null, 1.414213562373095, 2.77163859753386, null, 1.4142135623730951, 2.7716385975338604, null, -1.4142135623730947, -2.77163859753386, null, -1.4142135623730954, -1.1480502970952697, null, 1.1480502970952693, 2.2222809320784087, null, 2.77163859753386, 3.9231411216129217, null, 2.7716385975338604, 3.325878449210181, null, 1.1480502970952695, 0.7803612880645135, null, -1.1480502970952688, -2.2222809320784083, null, -2.77163859753386, -3.325878449210181, null, -2.7716385975338604, -3.32587844921018, null, -1.1480502970952697, -0.7803612880645158, null, 0.780361288064513, 1.4514233862723118, null, 2.2222809320784087, 3.171966420818227, null, 3.3258784492101805, 3.865052266813685, null, 3.9231411216129217, 4.784701678661045, null, 3.9231411216129217, 4.784701678661045, null, 3.325878449210181, 3.8650522668136853, null, 2.222280932078409, 2.3569836841299883, null, 0.7803612880645135, 1.4514233862723125, null, -0.7803612880645125, -0.4900857016478024, null, -2.2222809320784083, -3.1719664208182268, null, -3.325878449210181, -4.409606321741776, null, -3.9231411216129213, -4.784701678661043, null, -3.9231411216129217, -4.784701678661045, null, -3.32587844921018, -3.865052266813686, null, -2.2222809320784096, -2.3569836841299883, null, -0.7803612880645158, -1.4514233862723154, null, 0.490085701647803, 0.8803828467321705, null, 1.4514233862723118, 1.4578810794195833, null, 2.3569836841299883, 2.5653305605816925, null, 3.171966420818227, 3.5741958269546, null, 3.865052266813685, 4.819245188883869, null, 4.409606321741776, 5.146371660001632, null, 4.784701678661045, 5.8201875191672645, null, 4.975923633360985, 5.935059059788686, null, 4.975923633360985, 5.935059059788686, null, 4.784701678661045, 5.820187519167264, null, 4.409606321741776, 5.146371660001633, null, 3.8650522668136853, 4.81924518888387, null, 3.1719664208182277, 3.5741958269546, null, 2.3569836841299883, 3.08461646515933, null, 1.4514233862723125, 2.0213391203533213, null, 0.49008570164780474, 0.8803828467321725, null, -0.4900857016478024, -0.29440604596450737, null, -1.4514233862723125, -1.4578810794195838, null, -2.356983684129988, -3.08461646515933, null, -3.1719664208182268, -4.029353729082109, null, -3.865052266813685, -4.819245188883867, null, -4.409606321741776, -5.42393575874066, null, -4.784701678661043, -5.8201875191672645, null, -4.975923633360984, -5.992772737231034, null, -4.975923633360985, -5.935059059788686, null, -4.784701678661045, -5.820187519167264, null, -4.409606321741775, -5.146371660001633, null, -3.865052266813686, -4.819245188883871, null, -3.1719664208182285, -3.574195826954603, null, -2.3569836841299883, -3.08461646515933, null, -1.4514233862723154, -1.4578810794195842, null, -0.4900857016478054, -0.8803828467321733, null ] }, { "hoverinfo": "text", "marker": { "color": "rgb(255, 200, 0)", "line": { "color": "rgb(255, 200, 0)", "width": 0.5 }, "size": 10 }, "mode": "markers", "text": [ "Barty", "Barty", "Collins", "Barty", "Keys", "Collins", "Swiatek", "Barty", "Pegula", "Krejcikova", "Keys", "Collins", "Cornet", "Swiatek", "Canepi", "Barty", "Anisimova", "Pegula", "Sakkari", "Krejcikova", "Azarenka", "Keys", "Badosa", "Collins", "Mertens", "Halep", "Cornet", "Swiatek", "Cirstea", "Kanepi", "Sabalenka", "Barty", "Giorgi", "Anisimova", "Osaka", "ParrizasDiaz", "Pegula", "Kudermetova", "Sakkari", "Krejcikova", "Ostapenko", "Azarenka", "Svitolina", "Keys", "Q Wang", "Kostyuk", "Badosa", "Tauson ", "Collins", "Mertes", "S Zhang", "Halep", "Kovinic", "Zidansek", "Cornet", "Swiatek", "Kasatkina", "Cirstea", "Pavlyuchekova", "Kanepi", "Inglis", "Vondrousova", "Sabalenka", "Barty", "Bronzetti", "Martincova", "Giorgi", "Bencic", "Anisimova", "Brengle", "Osaka", "ParrizasDiaz", "Zanevska", "Pera", "Pegula", "Kudermet", "Ruse", "Zheng", "Sakkari", "Krejcicova", "X Wang", "Riske", "Ostapenko", "Azarenka", "Teichmann", "Ton", "Svitolina", "Keys", "Cristian", "VanUytvanck", "Q Wang", "SorribesTor", "Kostyuk", "Trevisan", "Badosa", "Kontaveit", "Tauson", "Konjuh", "Collins", "Mertens", "Begu", "Zhang", "Rybakina", "Halep", "HaddadM", "Kovinic", "Raducanu", "Zidansec", "Watson", "Cornet", "Muguruza", "Swiatek", "Peterson", "Linette", "Kasatkina", "Cristea", "Kucova", "Stosur", "Pavlyuchen", "Kanepi", "Bouzkova", "Baptiste", "Inglis", "Vondrous", "Samson", "X Wang2", "Sabalenka" ], "type": "scatter", "x": [ 0, 6.123233995736766e-17, -1.8369701987210297e-16, 1.4142135623730951, -1.414213562373095, -1.4142135623730954, 1.4142135623730947, 2.77163859753386, 1.1480502970952697, -1.148050297095269, -2.7716385975338604, -2.77163859753386, -1.1480502970952697, 1.1480502970952688, 2.77163859753386, 3.9231411216129217, 3.3258784492101805, 2.222280932078409, 0.7803612880645133, -0.7803612880645128, -2.2222809320784087, -3.3258784492101805, -3.9231411216129217, -3.9231411216129217, -3.3258784492101814, -2.2222809320784096, -0.7803612880645155, 0.7803612880645123, 2.2222809320784096, 3.32587844921018, 3.9231411216129213, 4.975923633360985, 4.784701678661044, 4.409606321741776, 3.8650522668136853, 3.1719664208182277, 2.3569836841299887, 1.451423386272312, 0.49008570164780335, -0.49008570164780274, -1.4514233862723116, -2.356983684129988, -3.1719664208182263, -3.865052266813685, -4.409606321741776, -4.784701678661045, -4.975923633360985, -4.975923633360985, -4.784701678661044, -4.409606321741776, -3.865052266813686, -3.1719664208182285, -2.3569836841299883, -1.4514233862723147, -0.4900857016478051, 0.49008570164780213, 1.451423386272312, 2.3569836841299896, 3.171966420818226, 3.8650522668136844, 4.409606321741776, 4.784701678661043, 4.975923633360984, 5.992772737231034, 5.935059059788686, 5.820187519167264, 5.649264391098125, 5.423935758740659, 5.146371660001633, 4.819245188883869, 4.445706752129754, 4.029353729082111, 3.5741958269546, 3.084616465159331, 2.5653305605816934, 2.021339120353321, 1.4578810794195831, 0.880382846732171, 0.29440604596450903, -0.2944060459645077, -0.8803828467321707, -1.457881079419583, -2.021339120353319, -2.5653305605816925, -3.0846164651593306, -3.5741958269545986, -4.02935372908211, -4.445706752129754, -4.81924518888387, -5.146371660001633, -5.42393575874066, -5.649264391098124, -5.8201875191672645, -5.935059059788686, -5.992772737231035, -5.992772737231034, -5.935059059788686, -5.820187519167264, -5.649264391098125, -5.42393575874066, -5.146371660001633, -4.819245188883871, -4.445706752129755, -4.029353729082111, -3.5741958269546026, -3.08461646515933, -2.5653305605816943, -2.021339120353324, -1.4578810794195836, -0.880382846732173, -0.29440604596450715, 0.294406045964507, 0.8803828467321675, 1.4578810794195836, 2.021339120353318, 2.565330560581694, 3.08461646515933, 3.574195826954598, 4.029353729082111, 4.4457067521297535, 4.819245188883867, 5.146371660001632, 5.423935758740659, 5.649264391098123, 5.8201875191672645, 5.935059059788685, 5.992772737231035 ], "y": [ 0, 1, -1, 1.414213562373095, 1.4142135623730951, -1.4142135623730947, -1.4142135623730954, 1.1480502970952693, 2.77163859753386, 2.7716385975338604, 1.1480502970952695, -1.1480502970952688, -2.77163859753386, -2.7716385975338604, -1.1480502970952697, 0.780361288064513, 2.2222809320784087, 3.3258784492101805, 3.9231411216129217, 3.9231411216129217, 3.325878449210181, 2.222280932078409, 0.7803612880645135, -0.7803612880645125, -2.2222809320784083, -3.325878449210181, -3.9231411216129213, -3.9231411216129217, -3.32587844921018, -2.2222809320784096, -0.7803612880645158, 0.490085701647803, 1.4514233862723118, 2.3569836841299883, 3.171966420818227, 3.865052266813685, 4.409606321741776, 4.784701678661045, 4.975923633360985, 4.975923633360985, 4.784701678661045, 4.409606321741776, 3.8650522668136853, 3.1719664208182277, 2.3569836841299883, 1.4514233862723125, 0.49008570164780474, -0.4900857016478024, -1.4514233862723125, -2.356983684129988, -3.1719664208182268, -3.865052266813685, -4.409606321741776, -4.784701678661043, -4.975923633360984, -4.975923633360985, -4.784701678661045, -4.409606321741775, -3.865052266813686, -3.1719664208182285, -2.3569836841299883, -1.4514233862723154, -0.4900857016478054, 0.2944060459645081, 0.8803828467321705, 1.4578810794195833, 2.0213391203533204, 2.5653305605816925, 3.08461646515933, 3.5741958269546, 4.029353729082111, 4.445706752129754, 4.819245188883869, 5.146371660001632, 5.42393575874066, 5.649264391098124, 5.8201875191672645, 5.935059059788686, 5.992772737231034, 5.992772737231035, 5.935059059788686, 5.820187519167264, 5.649264391098125, 5.42393575874066, 5.146371660001633, 4.81924518888387, 4.445706752129756, 4.029353729082111, 3.5741958269546, 3.08461646515933, 2.565330560581694, 2.0213391203533213, 1.4578810794195836, 0.8803828467321725, 0.2944060459645094, -0.29440604596450737, -0.8803828467321704, -1.4578810794195838, -2.021339120353319, -2.565330560581692, -3.08461646515933, -3.5741958269545986, -4.029353729082109, -4.445706752129754, -4.819245188883867, -5.146371660001632, -5.42393575874066, -5.649264391098123, -5.8201875191672645, -5.935059059788685, -5.992772737231034, -5.992772737231035, -5.935059059788686, -5.820187519167264, -5.649264391098125, -5.42393575874066, -5.146371660001633, -4.819245188883871, -4.445706752129754, -4.029353729082111, -3.574195826954603, -3.08461646515933, -2.5653305605816943, -2.021339120353324, -1.4578810794195842, -0.8803828467321733, -0.29440604596450753 ] } ], "frames": [], "layout": { "annotations": [ { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Barty ", "textangle": -2.8125000000000004, "x": 7.19132728467724, "y": 0.3532872551574097 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Bronzetti ", "textangle": -8.4375, "x": 7.1220708717464225, "y": 1.0564594160786045 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Martincova ", "textangle": -14.0625, "x": 6.984225023000716, "y": 1.7494572953035 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Giorgi ", "textangle": -19.6875, "x": 6.77911726931775, "y": 2.4256069444239845 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Bencic ", "textangle": -25.312500000000007, "x": 6.508722910488791, "y": 3.0783966726980307 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Anisimova ", "textangle": -30.937499999999996, "x": 6.17564599200196, "y": 3.701539758191196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Brengle ", "textangle": -36.56250000000001, "x": 5.783094226660642, "y": 4.2890349923455195 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Osaka ", "textangle": -42.18750000000001, "x": 5.334848102555705, "y": 4.835224474898532 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " ParrizasDiaz", "textangle": -47.8125, "x": 4.835224474898532, "y": 5.334848102555705 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Zanevska ", "textangle": -53.4375, "x": 4.2890349923455195, "y": 5.783094226660642 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Pera ", "textangle": -59.062499999999986, "x": 3.7015397581911973, "y": 6.175645992001958 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Pegula ", "textangle": -64.6875, "x": 3.078396672698032, "y": 6.508722910488792 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kudermet ", "textangle": -70.3125, "x": 2.425606944423985, "y": 6.779117269317749 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Ruse ", "textangle": -75.9375, "x": 1.7494572953034997, "y": 6.984225023000717 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Zheng ", "textangle": -81.5625, "x": 1.0564594160786052, "y": 7.1220708717464225 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Sakkari ", "textangle": -87.1875, "x": 0.35328725515741083, "y": 7.19132728467724 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Krejcicova ", "textangle": 87.18750000000001, "x": -0.3532872551574092, "y": 7.191327284677242 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " X Wang ", "textangle": 81.5625, "x": -1.0564594160786047, "y": 7.1220708717464225 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Riske ", "textangle": 75.9375, "x": -1.7494572953034995, "y": 6.984225023000716 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Ostapenko ", "textangle": 70.31250000000001, "x": -2.4256069444239827, "y": 6.77911726931775 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Azarenka ", "textangle": 64.6875, "x": -3.0783966726980307, "y": 6.508722910488792 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Teichmann ", "textangle": 59.06250000000001, "x": -3.7015397581911964, "y": 6.17564599200196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Ton ", "textangle": 53.43750000000002, "x": -4.289034992345518, "y": 5.783094226660643 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Svitolina ", "textangle": 47.812500000000014, "x": -4.835224474898531, "y": 5.334848102555707 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Keys ", "textangle": 42.18750000000001, "x": -5.334848102555705, "y": 4.835224474898532 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Cristian ", "textangle": 36.56249999999999, "x": -5.783094226660643, "y": 4.2890349923455195 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " VanUytvanck ", "textangle": 30.937499999999996, "x": -6.17564599200196, "y": 3.701539758191196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Q Wang ", "textangle": 25.31250000000001, "x": -6.508722910488792, "y": 3.0783966726980325 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " SorribesTor ", "textangle": 19.68750000000001, "x": -6.779117269317749, "y": 2.4256069444239854 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kostyuk ", "textangle": 14.0625, "x": -6.984225023000717, "y": 1.7494572953035001 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Trevisan ", "textangle": 8.43750000000002, "x": -7.1220708717464225, "y": 1.056459416078607 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Badosa ", "textangle": 2.8125000000000124, "x": -7.191327284677242, "y": 0.3532872551574113 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kontaveit ", "textangle": -2.8124999999999933, "x": -7.19132728467724, "y": -0.35328725515740883 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Tauson ", "textangle": -8.437499999999998, "x": -7.1220708717464225, "y": -1.0564594160786045 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Konjuh ", "textangle": -14.062500000000007, "x": -6.984225023000716, "y": -1.7494572953035006 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Collins ", "textangle": -19.68749999999999, "x": -6.77911726931775, "y": -2.4256069444239827 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Mertens ", "textangle": -25.312499999999996, "x": -6.508722910488792, "y": -3.0783966726980303 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Begu ", "textangle": -30.937499999999996, "x": -6.17564599200196, "y": -3.701539758191196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Zhang ", "textangle": -36.562499999999986, "x": -5.783094226660645, "y": -4.289034992345518 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Rybakina ", "textangle": -42.187499999999986, "x": -5.334848102555706, "y": -4.8352244748985305 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Halep ", "textangle": -47.8125, "x": -4.835224474898532, "y": -5.334848102555705 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " HaddadM ", "textangle": -53.43749999999997, "x": -4.289034992345523, "y": -5.783094226660641 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kovinic ", "textangle": -59.06250000000001, "x": -3.701539758191196, "y": -6.175645992001958 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Raducanu ", "textangle": -64.68749999999999, "x": -3.078396672698033, "y": -6.508722910488792 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Zidansec ", "textangle": -70.31249999999997, "x": -2.4256069444239885, "y": -6.779117269317748 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Watson ", "textangle": -75.9375, "x": -1.7494572953035001, "y": -6.984225023000717 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Cornet ", "textangle": -81.56249999999999, "x": -1.0564594160786076, "y": -7.122070871746422 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Muguruza ", "textangle": -87.18750000000001, "x": -0.35328725515740855, "y": -7.19132728467724 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Swiatek ", "textangle": 87.18750000000001, "x": 0.3532872551574084, "y": -7.191327284677242 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Peterson ", "textangle": 81.56250000000004, "x": 1.056459416078601, "y": -7.1220708717464225 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Linette ", "textangle": 75.9375, "x": 1.7494572953035001, "y": -6.984225023000716 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kasatkina ", "textangle": 70.31250000000001, "x": 2.425606944423982, "y": -6.77911726931775 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Cristea ", "textangle": 64.6875, "x": 3.0783966726980325, "y": -6.508722910488792 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kucova ", "textangle": 59.06250000000001, "x": 3.701539758191196, "y": -6.17564599200196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Stosur ", "textangle": 53.43750000000002, "x": 4.289034992345518, "y": -5.783094226660645 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Pavlyuchen ", "textangle": 47.8125, "x": 4.835224474898532, "y": -5.334848102555705 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Kanepi ", "textangle": 42.187500000000014, "x": 5.334848102555704, "y": -4.835224474898532 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Bouzkova ", "textangle": 36.562500000000036, "x": 5.783094226660641, "y": -4.289034992345523 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Baptiste ", "textangle": 30.9375, "x": 6.175645992001958, "y": -3.701539758191196 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Inglis ", "textangle": 25.31250000000002, "x": 6.508722910488791, "y": -3.078396672698033 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Vondrous ", "textangle": 19.687500000000036, "x": 6.779117269317748, "y": -2.4256069444239885 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Samson ", "textangle": 14.062500000000007, "x": 6.984225023000717, "y": -1.749457295303501 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " X Wang2 ", "textangle": 8.437500000000028, "x": 7.122070871746422, "y": -1.0564594160786078 }, { "font": { "color": "white", "size": 11 }, "showarrow": false, "text": " Sabalenka ", "textangle": 2.8124999999999942, "x": 7.191327284677242, "y": -0.35328725515740905 } ], "height": 730, "margin": { "b": 50, "l": 50, "r": 50, "t": 60 }, "plot_bgcolor": "rgb(0,0,0)", "shapes": [ { "line": { "color": "rgb(210,210,210)", "width": 0.5 }, "type": "circle", "x0": -1, "x1": 1, "xref": "x", "y0": -1, "y1": 1, "yref": "y" }, { "line": { "color": "rgb(210,210,210)", "width": 0.5 }, "type": "circle", "x0": -2, "x1": 2, "xref": "x", "y0": -2, "y1": 2, "yref": "y" }, { "line": { "color": "rgb(210,210,210)", "width": 0.5 }, "type": "circle", "x0": -3, "x1": 3, "xref": "x", "y0": -3, "y1": 3, "yref": "y" } ], "showlegend": false, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#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, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 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, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 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, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 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, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 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, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#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, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#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, "#f0f921" ] ], "sequentialminus": [ [ 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, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "Australian Open, 2022. Women's singles", "x": 0.5 }, "width": 750, "xaxis": { "visible": false }, "yaxis": { "visible": false } } }, "text/html": [ "\n", "\n", "\n", "
\n", " \n", " \n", "\n", "\n", "\n", " \n", "
\n", " \n", "\n", "\n", "\n", "" ], "text/plain": [ "data: [\n", " \"scatter with fields hoverinfo, line, mode, type, x, and y\",\n", " \"scatter with fields hoverinfo, line, mode, type, x, and y\",\n", " \"scatter with fields hoverinfo, marker, mode, text, type, x, and y\"\n", "]\n", "\n", "layout: \"layout with fields annotations, height, margin, plot_bgcolor, shapes, showlegend, template, title, width, xaxis, and yaxis\"\n", "\n" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pl = Plot([edgew_tr, edgel_tr, node_tr],\n", " Layout(title_text=\"Australian Open, 2022. Women's singles\",\n", " title_x=0.5, width=750, height=730, showlegend=false,\n", " xaxis_visible=false, yaxis_visible=false,\n", " shapes=shapes, annotations=annotations,\n", " plot_bgcolor=\"rgb(0,0,0)\" ))" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "@webio": { "lastCommId": "b3bac689e3d447b98c5c33f7643371ec", "lastKernelId": "293b02dc-9d90-493e-bc5a-d39a04357d40" }, "kernelspec": { "display_name": "Julia 1.7.0", "language": "julia", "name": "julia-1.7" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", "version": "1.7.0" } }, "nbformat": 4, "nbformat_minor": 4 }