├── .github └── workflows │ └── static.yml ├── .gitignore ├── README.md ├── about.html ├── css └── freelancer.css ├── data ├── multi-matshow │ ├── particle_0.npy │ ├── particle_1.npy │ ├── particle_2.npy │ ├── particle_3.npy │ ├── particle_4.npy │ ├── particle_5.npy │ ├── velocity_0.npy │ ├── velocity_1.npy │ ├── velocity_2.npy │ ├── velocity_3.npy │ ├── velocity_4.npy │ └── velocity_5.npy ├── single-3dplot-2.npy ├── single-scatter-4-adap-x.npy ├── single-scatter-4-adap-y.npy ├── single-scatter-4-value.npy ├── single-scatter-5-hist.npy └── single-scatter-5-pred.npy ├── fig ├── multi-matshow.jpg ├── readme │ ├── homepage.png │ ├── single-linear-1-page.png │ └── title-image.png ├── single-3dplot-1.jpg ├── single-3dplot-2.jpg ├── single-hist-horizon.jpg ├── single-hist-vertical.jpg ├── single-linear-1.jpg ├── single-linear-2.jpg ├── single-linear-3.jpg ├── single-scatter-1.jpg ├── single-scatter-2.jpg ├── single-scatter-3.jpg ├── single-scatter-4.jpg ├── single-scatter-5.jpg └── utils │ └── court.png ├── index.html ├── js ├── contact_me.js ├── freelancer.min.js └── jqBootstrapValidation.js ├── notebook ├── multi-matshow.ipynb ├── single-3dplot.ipynb ├── single-hist.ipynb ├── single-linear.ipynb └── single-scatter.ipynb ├── pages ├── multi-matshow.html ├── single-3dplot-1.html ├── single-3dplot-2.html ├── single-hist-horizontal.html ├── single-hist-vertical.html ├── single-lineplot-1.html ├── single-lineplot-2.html ├── single-lineplot-3.html ├── single-scatter-1.html ├── single-scatter-2.html ├── single-scatter-3.html ├── single-scatter-4.html └── single-scatter-5.html ├── posts.html └── vendor ├── bootstrap ├── css │ └── bootstrap.min.css └── js │ └── bootstrap.min.js ├── font-awesome ├── css │ └── font-awesome.min.css └── fonts │ └── fontawesome-webfont.woff2 └── jquery └── jquery.min.js /.github/workflows/static.yml: -------------------------------------------------------------------------------- 1 | # Simple workflow for deploying static content to GitHub Pages 2 | name: matplotlib-prefab 3 | 4 | on: 5 | # Runs on pushes targeting the default branch 6 | push: 7 | branches: ["main"] 8 | 9 | # Allows you to run this workflow manually from the Actions tab 10 | workflow_dispatch: 11 | 12 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 13 | permissions: 14 | contents: read 15 | pages: write 16 | id-token: write 17 | 18 | # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. 19 | # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. 20 | concurrency: 21 | group: "pages" 22 | cancel-in-progress: false 23 | 24 | jobs: 25 | # Single deploy job since we're just deploying 26 | deploy: 27 | environment: 28 | name: github-pages 29 | url: ${{ steps.deployment.outputs.page_url }} 30 | runs-on: ubuntu-latest 31 | steps: 32 | - name: Checkout 33 | uses: actions/checkout@v3 34 | - name: Setup Pages 35 | uses: actions/configure-pages@v3 36 | - name: Upload artifact 37 | uses: actions/upload-pages-artifact@v2 38 | with: 39 | # Upload entire repository 40 | path: '.' 41 | - name: Deploy to GitHub Pages 42 | id: deployment 43 | uses: actions/deploy-pages@v2 44 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matplotlib Prefab is a repository based on matplotlib package, which provides several matplotlib ploting templates for *line plot*, *hist plot*, *scatter plot*, and some complex plottings. You can check the website at [cbhua.github.io/matplotlib-prefab](https://cbhua.github.io/matplotlib-prefab/). 4 | 5 | ### 💡 Introduction 6 | 7 | I have a passion for creating visually appealing figures in publications. During my time writing papers, I often dedicated significant effort to crafting plots. In this repository, I've compiled some of my previous `matplotlib` plotting source code and have designed several templates for convenient reuse. I've chosen not to package this content due to the myriad of customizable parameters. Instead, I believe a template approach is more straightforward to modify and repurpose. I hope these templates inspire you and provide techniques to craft beautiful `matplotlib` figures. 8 | 9 | ### ⚙️ Environment 10 | 11 | I've aimed to keep dependencies to a minimum; thus, a basic combination of `matplotlib` and `numpy` should suffice. However, it's important to note that I've incorporated LaTeX font families and formatting. Therefore, you'll need to have [LaTeX](https://www.latex-project.org/get/) installed on your operating system. 12 | 13 | ``` 14 | Python Version: 3.10 (develop) 15 | Python Package: matplotlib 3.8 (support Latex text), numpy 16 | Other: to use the Latex illustration style, the Latex is required to be installed 17 | ``` 18 | 19 | ### 🔦 How to use 20 | 21 | You can easily go to the website: [cbhua.github.io/matplotlib-prefab](https://cbhua.github.io/matplotlib-prefab/) and see the example figures of each prefabs: 22 | 23 | 24 | 25 | You can click on the figure to view the associated template code. Most of the code for these figures is self-contained and can be run independently. However, a few require external data. For those instances, please refer to the accompanying notebook. 26 | 27 | 28 | 29 | You can also refer to the `notebook` directory to access Jupyter notebooks for those example figures and tailor them to your needs. 30 | 31 | ### 🔧 Structure 32 | 33 | ``` 34 | . 35 | ├── css - webpage 36 | ├── js - webpage 37 | ├── pages - webpage 38 | ├── vendor - webpage 39 | ├── data - some complex figures reauqired external data 40 | ├── fig - example figures 41 | ├── notebook - jupyter notebook for creating figures 42 | └── *.html - webpage 43 | ``` 44 | 45 | ### 🖼 Visualization Example 46 | 47 | **Line Plots**: [Jupyter notebook](https://github.com/cbhua/matplotlib-prefab/blob/main/notebook/single-linear.ipynb) 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | **Hist Plots**: [Jupyter notebook](https://github.com/cbhua/matplotlib-prefab/blob/main/notebook/single-hist.ipynb) 56 | 57 | 58 | 59 | 60 | 61 | **Scatter Plots**: [Jupyter notebook](https://github.com/cbhua/matplotlib-prefab/blob/main/notebook/single-scatter.ipynb) 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | **Complex Examples**: [3D Plots jupyter notebook](https://github.com/cbhua/matplotlib-prefab/blob/main/notebook/single-3dplot.ipynb), [Matshow jupyter notebook](https://github.com/cbhua/matplotlib-prefab/blob/main/notebook/multi-matshow.ipynb) 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | ### 📬 Contact 82 | 83 | If you have any question or find any bug, feel free to raise an issue. If you have ideas to contribute to this repo, welcome to pull request or contact cbhua@kaist.ac.kr. Thanks for interested to our work! 84 | -------------------------------------------------------------------------------- /about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 | 76 |

77 |
About the Matplotlib Prefab

78 |

79 | Matplotlib Prefab is a repository based on matplotlib package, which provides several matplotlib ploting templates for line plot, 80 | hist plot, scatter plot, and some complex plottings. You can see the GitHub repository at https://github.com/cbhua/matplotlib-prefab. 81 |

82 |
83 |

Introduction

84 |

85 | I have a passion for creating visually appealing figures in publications. During my time writing papers, I often dedicated significant effort to crafting plots. 86 | In this repository, I've compiled some of my previous `matplotlib` plotting source code and have designed several templates for convenient reuse. 87 | I've chosen not to package this content due to the myriad of customizable parameters. Instead, I believe a template approach is more straightforward to modify and repurpose. 88 | I hope these templates inspire you and provide techniques to craft beautiful `matplotlib` figures. 89 |

90 |
91 |

Environment

92 |

93 | I've aimed to keep dependencies to a minimum; thus, a basic combination of matplotlib and numpy should suffice. However, it's important to note that I've incorporated LaTeX font families and formatting. 94 | Therefore, you'll need to have LaTeX installed on your operating system. 95 |

96 |

 97 | Python Version: 3.10 (develop)
 98 | Python Package: matplotlib 3.8 (support Latex text), numpy
 99 | Other: to use the Latex illustration style, the Latex is required to be installed
100 |             
101 |
102 |

How to use

103 |

104 | You can easily go to the home page: cbhua.github.io/matplotlib-prefab and see the example figures of each prefabs: 105 |

106 | 107 |

108 | You can click on the figure to view the associated template code. Most of the code for these figures is self-contained and can be run independently. However, a few require external data. For those instances, please refer to the accompanying notebook. 109 |

110 | 111 |

112 | You can also refer to the GitHub notebook directory to access Jupyter notebooks for those example figures and tailor them to your needs. 113 |

114 |

115 | Have fun! 116 |

117 |
118 |
119 | 120 | 121 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | -------------------------------------------------------------------------------- /css/freelancer.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Freelancer v3.3.7+1 (http://startbootstrap.com/template-overviews/freelancer) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | 7 | .container { 8 | margin-right: auto; 9 | margin-left: auto; 10 | max-width: 720px; /* or 950px */ 11 | } 12 | 13 | body { 14 | /* font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; */ 15 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 16 | overflow-x: hidden; 17 | line-height: 145%; 18 | height: 100%; 19 | background-color:#FAF8EC; 20 | color: #333333; 21 | font-size:12px; 22 | 23 | } 24 | p { 25 | font-size: 12px; 26 | } 27 | p.small { 28 | font-size: 12px; 29 | } 30 | a, 31 | a:hover, 32 | a:focus, 33 | a:active, 34 | a.active { 35 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 36 | color: #296FA3; 37 | font-weight: bold; 38 | } 39 | h1, 40 | h2, 41 | h3 { 42 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 43 | /* text-transform: uppercase; */ 44 | font-size: 16px; 45 | font-weight: bold; 46 | line-height: 145%; 47 | } 48 | h4 { 49 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 50 | /* text-transform: uppercase; */ 51 | font-size: 14px; 52 | font-weight: bold; 53 | } 54 | h5 { 55 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 56 | /* text-transform: uppercase; */ 57 | font-size: 12px; 58 | font-weight: bold; 59 | line-height: 145%; 60 | } 61 | h6 62 | hr.star-light, 63 | hr.star-primary { 64 | padding: 0; 65 | border: none; 66 | border-top: solid 5px; 67 | text-align: center; 68 | max-width: 250px; 69 | margin: 25px auto 30px; 70 | } 71 | hr.star-light:after, 72 | hr.star-primary:after { 73 | content: "\f005"; 74 | font-family: FontAwesome; 75 | display: inline-block; 76 | position: relative; 77 | top: -0.8em; 78 | font-size: 2em; 79 | padding: 0 0.25em; 80 | } 81 | hr.star-light { 82 | border-color: white; 83 | } 84 | hr.star-light:after { 85 | background-color: #18BC9C; 86 | color: white; 87 | } 88 | hr.star-primary { 89 | border-color: #2C3E50; 90 | } 91 | hr.star-primary:after { 92 | background-color: white; 93 | color: #2C3E50; 94 | } 95 | .img-centered { 96 | margin: 0 auto; 97 | } 98 | 99 | hr { 100 | border: 0; 101 | height: 1px; 102 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); 103 | } 104 | 105 | ul { margin-top: 0px; 106 | margin-left: 0;} 107 | 108 | li { margin-top: 5px; margin-left: 0;} 109 | li.header {margin-top: 0px;} 110 | 111 | header { 112 | text-align: center; 113 | background: #FAF8EC; 114 | color: #333333; 115 | } 116 | header .container { 117 | padding-top: 100px; 118 | padding-bottom: 50px; 119 | } 120 | header img { 121 | display: block; 122 | margin: 0 auto 20px; 123 | } 124 | header .intro-text .name { 125 | display: block; 126 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 127 | /* text-transform: uppercase; */ 128 | font-weight: 700; 129 | font-size: 2em; 130 | } 131 | header .intro-text .skills { 132 | font-size: 1.25em; 133 | font-weight: 300; 134 | } 135 | @media (min-width: 768px) { 136 | header .container { 137 | padding-top: 200px; 138 | padding-bottom: 100px; 139 | } 140 | header .intro-text .name { 141 | font-size: 4.75em; 142 | } 143 | header .intro-text .skills { 144 | font-size: 1.75em; 145 | } 146 | } 147 | .navbar-custom { 148 | background: #FAF8EC; 149 | font-family: "Lucida Grande","Lucida Sans Unicode", Helvetica, Arial, sans-serif; 150 | /* text-transform: uppercase; */ 151 | font-weight: 500; 152 | border: none; 153 | } 154 | .navbar-custom .navbar-brand { 155 | color: #BB3322; 156 | font-weight: bold; 157 | text-align: center; 158 | } 159 | .navbar-custom .navbar-brand:hover { 160 | color: #BB3322; 161 | font-weight: bold; 162 | } 163 | .navbar-custom .navbar-nav { 164 | letter-spacing: 1px; 165 | } 166 | .navbar-custom .navbar-nav li a { 167 | color: #333333; 168 | } 169 | .navbar-custom .navbar-nav li a:hover { 170 | color: #BB3322; 171 | } 172 | .navbar-custom .navbar-nav li a:focus, 173 | .navbar-custom .navbar-nav li a:active { 174 | color: #333333; 175 | } 176 | .navbar-custom .navbar-nav li.active a { 177 | color: #BB3322; 178 | background: #FAF8EC; 179 | } 180 | .navbar-custom .navbar-nav li.active a:hover, 181 | .navbar-custom .navbar-nav li.active a:focus, 182 | .navbar-custom .navbar-nav li.active a:active { 183 | color: #333333; 184 | background: #FAF8EC; 185 | } 186 | section { 187 | padding: 80px 0; 188 | } 189 | section h2 { 190 | margin: 0; 191 | font-size: 3em; 192 | } 193 | section.success { 194 | background: #FAF8EC; 195 | color: #333333; 196 | } 197 | @media (max-width: 767px) { 198 | section { 199 | padding: 75px 0; 200 | } 201 | section.first { 202 | padding-top: 75px; 203 | } 204 | } 205 | #portfolio .portfolio-item { 206 | margin: 0 0 15px; 207 | right: 0; 208 | } 209 | #portfolio .portfolio-item .portfolio-link { 210 | display: block; 211 | position: relative; 212 | max-width: 400px; 213 | margin: 0 auto; 214 | } 215 | #portfolio .portfolio-item .portfolio-link .caption { 216 | background: rgba(24, 188, 156, 0.9); 217 | position: absolute; 218 | width: 100%; 219 | height: 100%; 220 | opacity: 0; 221 | transition: all ease 0.5s; 222 | -webkit-transition: all ease 0.5s; 223 | -moz-transition: all ease 0.5s; 224 | } 225 | #portfolio .portfolio-item .portfolio-link .caption:hover { 226 | opacity: 1; 227 | } 228 | #portfolio .portfolio-item .portfolio-link .caption .caption-content { 229 | position: absolute; 230 | width: 100%; 231 | height: 20px; 232 | font-size: 20px; 233 | text-align: center; 234 | top: 50%; 235 | margin-top: -12px; 236 | color: #333333; 237 | } 238 | #portfolio .portfolio-item .portfolio-link .caption .caption-content i { 239 | margin-top: -12px; 240 | } 241 | #portfolio .portfolio-item .portfolio-link .caption .caption-content h3, 242 | #portfolio .portfolio-item .portfolio-link .caption .caption-content h4 { 243 | margin: 0; 244 | } 245 | #portfolio * { 246 | z-index: 2; 247 | } 248 | @media (min-width: 767px) { 249 | #portfolio .portfolio-item { 250 | margin: 0 0 30px; 251 | } 252 | } 253 | .floating-label-form-group { 254 | position: relative; 255 | margin-bottom: 0; 256 | padding-bottom: 0.5em; 257 | border-bottom: 1px solid #eeeeee; 258 | } 259 | .floating-label-form-group input, 260 | .floating-label-form-group textarea { 261 | z-index: 1; 262 | position: relative; 263 | padding-right: 0; 264 | padding-left: 0; 265 | border: none; 266 | border-radius: 0; 267 | font-size: 1.5em; 268 | background: none; 269 | box-shadow: none !important; 270 | resize: none; 271 | } 272 | .floating-label-form-group label { 273 | display: block; 274 | z-index: 0; 275 | position: relative; 276 | top: 2em; 277 | margin: 0; 278 | font-size: 0.85em; 279 | line-height: 1.764705882em; 280 | vertical-align: middle; 281 | vertical-align: baseline; 282 | opacity: 0; 283 | -webkit-transition: top 0.3s ease,opacity 0.3s ease; 284 | -moz-transition: top 0.3s ease,opacity 0.3s ease; 285 | -ms-transition: top 0.3s ease,opacity 0.3s ease; 286 | transition: top 0.3s ease,opacity 0.3s ease; 287 | } 288 | .floating-label-form-group:not(:first-child) { 289 | padding-left: 14px; 290 | border-left: 1px solid #eeeeee; 291 | } 292 | .floating-label-form-group-with-value label { 293 | top: 0; 294 | opacity: 1; 295 | } 296 | .floating-label-form-group-with-focus label { 297 | color: #18BC9C; 298 | } 299 | form .row:first-child .floating-label-form-group { 300 | border-top: 1px solid #eeeeee; 301 | } 302 | footer { 303 | color: white; 304 | } 305 | footer h3 { 306 | margin-bottom: 30px; 307 | } 308 | footer .footer-above { 309 | padding-top: 50px; 310 | background-color: #2C3E50; 311 | } 312 | footer .footer-col { 313 | margin-bottom: 50px; 314 | } 315 | footer .footer-below { 316 | padding: 25px 0; 317 | background-color: #FAF8EC; 318 | color: #888888; 319 | font-size: 11px; 320 | line-height: 12px; 321 | } 322 | .btn-outline { 323 | color: white; 324 | font-size: 20px; 325 | border: solid 2px white; 326 | background: transparent; 327 | transition: all 0.3s ease-in-out; 328 | margin-top: 15px; 329 | } 330 | .btn-outline:hover, 331 | .btn-outline:focus, 332 | .btn-outline:active, 333 | .btn-outline.active { 334 | color: #18BC9C; 335 | background: white; 336 | border: solid 2px white; 337 | } 338 | .btn-primary { 339 | color: white; 340 | background-color: #2C3E50; 341 | border-color: #2C3E50; 342 | font-weight: 700; 343 | } 344 | .btn-primary:hover, 345 | .btn-primary:focus, 346 | .btn-primary:active, 347 | .btn-primary.active, 348 | .open .dropdown-toggle.btn-primary { 349 | color: white; 350 | background-color: #1a242f; 351 | border-color: #161f29; 352 | } 353 | .btn-primary:active, 354 | .btn-primary.active, 355 | .open .dropdown-toggle.btn-primary { 356 | background-image: none; 357 | } 358 | .btn-primary.disabled, 359 | .btn-primary[disabled], 360 | fieldset[disabled] .btn-primary, 361 | .btn-primary.disabled:hover, 362 | .btn-primary[disabled]:hover, 363 | fieldset[disabled] .btn-primary:hover, 364 | .btn-primary.disabled:focus, 365 | .btn-primary[disabled]:focus, 366 | fieldset[disabled] .btn-primary:focus, 367 | .btn-primary.disabled:active, 368 | .btn-primary[disabled]:active, 369 | fieldset[disabled] .btn-primary:active, 370 | .btn-primary.disabled.active, 371 | .btn-primary[disabled].active, 372 | fieldset[disabled] .btn-primary.active { 373 | background-color: #2C3E50; 374 | border-color: #2C3E50; 375 | } 376 | .btn-primary .badge { 377 | color: #2C3E50; 378 | background-color: white; 379 | } 380 | .btn-success { 381 | color: white; 382 | background-color: #18BC9C; 383 | border-color: #18BC9C; 384 | font-weight: 700; 385 | } 386 | .btn-success:hover, 387 | .btn-success:focus, 388 | .btn-success:active, 389 | .btn-success.active, 390 | .open .dropdown-toggle.btn-success { 391 | color: white; 392 | background-color: #128f76; 393 | border-color: #11866f; 394 | } 395 | .btn-success:active, 396 | .btn-success.active, 397 | .open .dropdown-toggle.btn-success { 398 | background-image: none; 399 | } 400 | .btn-success.disabled, 401 | .btn-success[disabled], 402 | fieldset[disabled] .btn-success, 403 | .btn-success.disabled:hover, 404 | .btn-success[disabled]:hover, 405 | fieldset[disabled] .btn-success:hover, 406 | .btn-success.disabled:focus, 407 | .btn-success[disabled]:focus, 408 | fieldset[disabled] .btn-success:focus, 409 | .btn-success.disabled:active, 410 | .btn-success[disabled]:active, 411 | fieldset[disabled] .btn-success:active, 412 | .btn-success.disabled.active, 413 | .btn-success[disabled].active, 414 | fieldset[disabled] .btn-success.active { 415 | background-color: #18BC9C; 416 | border-color: #18BC9C; 417 | } 418 | .btn-success .badge { 419 | color: #18BC9C; 420 | background-color: white; 421 | } 422 | .btn-social { 423 | display: inline-block; 424 | height: 50px; 425 | width: 50px; 426 | border: 2px solid white; 427 | border-radius: 100%; 428 | text-align: center; 429 | font-size: 20px; 430 | line-height: 45px; 431 | } 432 | .scroll-top { 433 | position: fixed; 434 | right: 2%; 435 | bottom: 2%; 436 | width: 50px; 437 | height: 50px; 438 | z-index: 1049; 439 | } 440 | .scroll-top .btn { 441 | font-size: 20px; 442 | width: 50px; 443 | height: 50px; 444 | border-radius: 100%; 445 | line-height: 28px; 446 | } 447 | .portfolio-modal .modal-content { 448 | border-radius: 0; 449 | background-clip: border-box; 450 | -webkit-box-shadow: none; 451 | box-shadow: none; 452 | border: none; 453 | min-height: 100%; 454 | padding: 100px 0; 455 | text-align: center; 456 | } 457 | .portfolio-modal .modal-content h2 { 458 | margin: 0; 459 | font-size: 3em; 460 | } 461 | .portfolio-modal .modal-content img { 462 | margin-bottom: 30px; 463 | } 464 | .portfolio-modal .modal-content .item-details { 465 | margin: 30px 0; 466 | } 467 | .portfolio-modal .close-modal { 468 | position: absolute; 469 | width: 75px; 470 | height: 75px; 471 | background-color: transparent; 472 | top: 25px; 473 | right: 25px; 474 | cursor: pointer; 475 | } 476 | .portfolio-modal .close-modal:hover { 477 | opacity: 0.3; 478 | } 479 | .portfolio-modal .close-modal .lr { 480 | height: 75px; 481 | width: 1px; 482 | margin-left: 35px; 483 | background-color: #2C3E50; 484 | transform: rotate(45deg); 485 | -ms-transform: rotate(45deg); 486 | /* IE 9 */ 487 | -webkit-transform: rotate(45deg); 488 | /* Safari and Chrome */ 489 | z-index: 1051; 490 | } 491 | .portfolio-modal .close-modal .lr .rl { 492 | height: 75px; 493 | width: 1px; 494 | background-color: #2C3E50; 495 | transform: rotate(90deg); 496 | -ms-transform: rotate(90deg); 497 | /* IE 9 */ 498 | -webkit-transform: rotate(90deg); 499 | /* Safari and Chrome */ 500 | z-index: 1052; 501 | } 502 | .portfolio-modal .modal-backdrop { 503 | opacity: 0; 504 | display: none; 505 | } 506 | #skipnav a { 507 | padding: 6px; 508 | position: absolute; 509 | top: -40px; 510 | left: 0px; 511 | color: white; 512 | border-right: 1px solid white; 513 | border-bottom: 1px solid white; 514 | border-bottom-right-radius: 8px; 515 | background: transparent; 516 | transition: top 1s ease-out, background 1s linear; 517 | z-index: 2000; 518 | } 519 | #skipnav a:focus { 520 | position: absolute; 521 | left: 0px; 522 | top: 0px; 523 | background: #18BC9C; 524 | outline: 0; 525 | transition: top 0.1s ease-in, background 0.5s linear; 526 | } 527 | div#maincontent { 528 | outline: none; 529 | } 530 | 531 | div.paper-title { 532 | font-size: 12px; 533 | font-weight: bold; 534 | color: #606060 535 | } 536 | 537 | div.pub-year { 538 | font-size: 12px; 539 | line-height: 145%; 540 | margin-top: 10px; 541 | font-weight: bold; 542 | padding-bottom: 6px; 543 | border-bottom: 1px solid #888888; 544 | } 545 | div.sec { 546 | font-size: 14px; 547 | line-height: 18px; 548 | font-weight: bold; 549 | padding-bottom: 7px; 550 | border-bottom: 1px solid #888888; 551 | } 552 | -------------------------------------------------------------------------------- /data/multi-matshow/particle_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_0.npy -------------------------------------------------------------------------------- /data/multi-matshow/particle_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_1.npy -------------------------------------------------------------------------------- /data/multi-matshow/particle_2.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_2.npy -------------------------------------------------------------------------------- /data/multi-matshow/particle_3.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_3.npy -------------------------------------------------------------------------------- /data/multi-matshow/particle_4.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_4.npy -------------------------------------------------------------------------------- /data/multi-matshow/particle_5.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/particle_5.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_0.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_1.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_2.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_2.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_3.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_3.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_4.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_4.npy -------------------------------------------------------------------------------- /data/multi-matshow/velocity_5.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/multi-matshow/velocity_5.npy -------------------------------------------------------------------------------- /data/single-3dplot-2.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-3dplot-2.npy -------------------------------------------------------------------------------- /data/single-scatter-4-adap-x.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-scatter-4-adap-x.npy -------------------------------------------------------------------------------- /data/single-scatter-4-adap-y.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-scatter-4-adap-y.npy -------------------------------------------------------------------------------- /data/single-scatter-4-value.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-scatter-4-value.npy -------------------------------------------------------------------------------- /data/single-scatter-5-hist.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-scatter-5-hist.npy -------------------------------------------------------------------------------- /data/single-scatter-5-pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/data/single-scatter-5-pred.npy -------------------------------------------------------------------------------- /fig/multi-matshow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/multi-matshow.jpg -------------------------------------------------------------------------------- /fig/readme/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/readme/homepage.png -------------------------------------------------------------------------------- /fig/readme/single-linear-1-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/readme/single-linear-1-page.png -------------------------------------------------------------------------------- /fig/readme/title-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/readme/title-image.png -------------------------------------------------------------------------------- /fig/single-3dplot-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-3dplot-1.jpg -------------------------------------------------------------------------------- /fig/single-3dplot-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-3dplot-2.jpg -------------------------------------------------------------------------------- /fig/single-hist-horizon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-hist-horizon.jpg -------------------------------------------------------------------------------- /fig/single-hist-vertical.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-hist-vertical.jpg -------------------------------------------------------------------------------- /fig/single-linear-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-linear-1.jpg -------------------------------------------------------------------------------- /fig/single-linear-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-linear-2.jpg -------------------------------------------------------------------------------- /fig/single-linear-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-linear-3.jpg -------------------------------------------------------------------------------- /fig/single-scatter-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-scatter-1.jpg -------------------------------------------------------------------------------- /fig/single-scatter-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-scatter-2.jpg -------------------------------------------------------------------------------- /fig/single-scatter-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-scatter-3.jpg -------------------------------------------------------------------------------- /fig/single-scatter-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-scatter-4.jpg -------------------------------------------------------------------------------- /fig/single-scatter-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/single-scatter-5.jpg -------------------------------------------------------------------------------- /fig/utils/court.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbhua/matplotlib-prefab/a3f6dfb0be2a995d7713994f3a8bc909a64c98ff/fig/utils/court.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 |
Skip to main content
36 | 37 | 38 | 67 | 68 |
69 |
70 |
71 |
72 |
Line Plots
73 |
74 | 75 | 76 |

77 | 78 | 79 |

80 |
Hist Plots
81 |
82 | 83 | 84 | 85 |

86 |
Scatter Plots
87 |
88 | 89 | 90 |

91 | 92 | 93 |

94 | 95 | 96 |

97 |
Complex Examples
98 |
99 | 100 | 101 |

102 | 103 |
104 |
105 |
106 |
107 | 108 | 109 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /js/contact_me.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | $("#contactForm input,#contactForm textarea").jqBootstrapValidation({ 4 | preventSubmit: true, 5 | submitError: function($form, event, errors) { 6 | // additional error messages or events 7 | }, 8 | submitSuccess: function($form, event) { 9 | // Prevent spam click and default submit behaviour 10 | $("#btnSubmit").attr("disabled", true); 11 | event.preventDefault(); 12 | 13 | // get values from FORM 14 | var name = $("input#name").val(); 15 | var email = $("input#email").val(); 16 | var phone = $("input#phone").val(); 17 | var message = $("textarea#message").val(); 18 | var firstName = name; // For Success/Failure Message 19 | // Check for white space in name for Success/Fail message 20 | if (firstName.indexOf(' ') >= 0) { 21 | firstName = name.split(' ').slice(0, -1).join(' '); 22 | } 23 | $.ajax({ 24 | url: "././mail/contact_me.php", 25 | type: "POST", 26 | data: { 27 | name: name, 28 | phone: phone, 29 | email: email, 30 | message: message 31 | }, 32 | cache: false, 33 | success: function() { 34 | // Enable button & show success message 35 | $("#btnSubmit").attr("disabled", false); 36 | $('#success').html("
"); 37 | $('#success > .alert-success').html(""); 39 | $('#success > .alert-success') 40 | .append("Your message has been sent. "); 41 | $('#success > .alert-success') 42 | .append('
'); 43 | 44 | //clear all fields 45 | $('#contactForm').trigger("reset"); 46 | }, 47 | error: function() { 48 | // Fail message 49 | $('#success').html("
"); 50 | $('#success > .alert-danger').html(""); 52 | $('#success > .alert-danger').append("Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!"); 53 | $('#success > .alert-danger').append('
'); 54 | //clear all fields 55 | $('#contactForm').trigger("reset"); 56 | }, 57 | }); 58 | }, 59 | filter: function() { 60 | return $(this).is(":visible"); 61 | }, 62 | }); 63 | 64 | $("a[data-toggle=\"tab\"]").click(function(e) { 65 | e.preventDefault(); 66 | $(this).tab("show"); 67 | }); 68 | }); 69 | 70 | // When clicking on Full hide fail/success boxes 71 | $('#name').focus(function() { 72 | $('#success').html(''); 73 | }); 74 | -------------------------------------------------------------------------------- /js/freelancer.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Freelancer v3.3.7+1 (http://startbootstrap.com/template-overviews/freelancer) 3 | * Copyright 2013-2016 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | !function(o){"use strict";o(".page-scroll a").bind("click",function(t){var l=o(this);o("html, body").stop().animate({scrollTop:o(l.attr("href")).offset().top-50},1250,"easeInOutExpo"),t.preventDefault()}),o("body").scrollspy({target:".navbar-fixed-top",offset:51}),o(".navbar-collapse ul li a").click(function(){o(".navbar-toggle:visible").click()}),o("#mainNav").affix({offset:{top:100}}),o(function(){o("body").on("input propertychange",".floating-label-form-group",function(t){o(this).toggleClass("floating-label-form-group-with-value",!!o(t.target).val())}).on("focus",".floating-label-form-group",function(){o(this).addClass("floating-label-form-group-with-focus")}).on("blur",".floating-label-form-group",function(){o(this).removeClass("floating-label-form-group-with-focus")})})}(jQuery); -------------------------------------------------------------------------------- /pages/multi-matshow.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | import seaborn as sns
 84 | from matplotlib import cm
 85 | 
 86 | # Use LaTeX font
 87 | plt.rcParams.update({'text.usetex': True})
 88 | 
 89 | # Figure font config
 90 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 92 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | text_font = {'family': 'Palatino Linotype', 'size': 12}
 94 | 
 95 | # Load data
 96 | particle = []
 97 | velocity = []
 98 | for i in range(6):
 99 |     particle.append(np.load('../data/multi-matshow/particle_' + str(i) + '.npy'))
100 |     velocity.append(np.load('../data/multi-matshow/velocity_' + str(i) + '.npy')) X-4)**2 + (8 * Y - 4)**2))
101 | 
102 | # Plot
103 | fig, axs = plt.subplots(2, 3, figsize=(8, 6))
104 | 
105 | for idx in range(6):
106 |     i = idx // 3
107 |     j = idx % 3
108 | 
109 |     for particle_idx, (x, y) in enumerate(zip(particle[idx][:, 0], particle[idx][:, 1])):
110 |         axs[i, j].scatter(
111 |             x, y, 
112 |             marker='o',
113 |             color=cm.RdYlBu_r(velocity[idx][particle_idx])
114 |         )
115 |     
116 |     # Label and title
117 |     axs[i, j].get_xaxis().set_visible(False)
118 |     axs[i, j].get_yaxis().set_visible(False)
119 |     axs[i, j].set_title(f'$t={idx}$', fontdict=title_font)
120 | 
121 |     # Axis range
122 |     axs[i, j].set_xlim([0.5, 5.5])
123 |     axs[i, j].set_ylim([0.5, 4])
124 | 
125 | plt.tight_layout()
126 | plt.savefig('../fig/multi-matshow.jpg', dpi=300)
127 |                 
128 | 144 |
145 |
146 |
147 |
148 | 149 | 150 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | -------------------------------------------------------------------------------- /pages/single-3dplot-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | 
 92 | # Generate data
 93 | X = np.linspace(0, 1, num=256, endpoint=True)
 94 | Y = np.linspace(0, 1, num=256, endpoint=True)
 95 | X, Y = np.meshgrid(X, Y)
 96 | R = np.sqrt(1 * ((8 * X-4)**2 + (8 * Y - 4)**2))
 97 | Z = 0.5 * np.sin(R)
 98 | 
 99 | # Plot
100 | ax = plt.figure(figsize=(8, 6)).add_subplot(projection='3d')
101 | 
102 | surf = ax.plot_surface(
103 |     X, Y, Z, 
104 |     cmap=cm.coolwarm, 
105 |     linewidth=1, 
106 |     antialiased=False, 
107 |     alpha=0.3
108 | )
109 | contour = ax.contour(
110 |     X, Y, Z, 
111 |     zdir='z', 
112 |     levels=8, 
113 |     offset=-1, 
114 |     cmap=cm.coolwarm, 
115 |     alpha=0.4
116 | )
117 | 
118 | ax.set_xlim(0, 1)
119 | ax.set_ylim(0, 1)
120 | ax.set_zlim(-1, 0.5)
121 | 
122 | ax.set_xlabel('x', fontdict=label_font)
123 | ax.set_ylabel('y', fontdict=label_font)
124 | ax.set_zlabel('z', fontdict=label_font)
125 | ax.set_title(
126 |     r'Ground Truth for $u(x, y) = \mathrm{sin}(((8x-4)^2+(8y-4)^2)^{1/2})$', 
127 |     fontdict=title_font
128 | )
129 | 
130 | ax.tick_params(axis='both', which='major', labelsize=12)
131 | ax.tick_params(axis='both', which='minor', labelsize=12)
132 | 
133 | labels = ax.get_xticklabels() + ax.get_yticklabels() + ax.get_zticklabels()
134 | [label.set_fontname('serif') for label in labels]
135 | 
136 | plt.tight_layout()
137 | plt.savefig('../fig/single-3dplot-1.jpg', dpi=300)
138 |                 
139 | 155 |
156 |
157 |
158 |
159 | 160 | 161 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | -------------------------------------------------------------------------------- /pages/single-3dplot-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | 
 92 | # Load data
 93 | value = np.load('../data/single-3dplot-2.npy')
 94 | 
 95 | x, y, z = np.meshgrid(
 96 |     np.linspace(0, 1, num=64, endpoint=True),
 97 |     np.linspace(0, 1, num=64, endpoint=True),
 98 |     np.linspace(0, 1, num=64, endpoint=True)
 99 | )
100 | 
101 | # Plot
102 | ax = plt.figure(figsize=(6, 6)).add_subplot(projection='3d')
103 | ax.scatter(x, y, z, s=3, c=value, cmap=cm.inferno, alpha=0.1)
104 | 
105 | ax.set_xlabel('x', fontdict=label_font)
106 | ax.set_ylabel('y', fontdict=label_font)
107 | ax.set_zlabel('z', fontdict=label_font)
108 | ax.set_title('Single 3D Plot 2', fontdict=title_font)
109 | 
110 | ax.tick_params(axis='both', which='major', labelsize=12)
111 | ax.tick_params(axis='both', which='minor', labelsize=12)
112 | 
113 | labels = ax.get_xticklabels() + ax.get_yticklabels() + ax.get_zticklabels()
114 | [label.set_fontname('serif') for label in labels]
115 | 
116 | plt.tight_layout()
117 | plt.savefig('../fig/single-3dplot-2.jpg', dpi=300)
118 |                 
119 | 135 |
136 |
137 |
138 |
139 | 140 | 141 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | -------------------------------------------------------------------------------- /pages/single-hist-horizontal.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 12}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 92 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | 
 94 | # Generate data
 95 | item = [
 96 |     'Model 1',
 97 |     'Model 2',
 98 |     'Model 3',
 99 |     'Model 4',
100 |     'Model 5',
101 | ]
102 | 
103 | value = np.array([
104 |     [1, 1.5, 2, 2.5, 3], 
105 |     [0.2, 0.4, 0.6, 0.8, 1], 
106 |     [0.1, 0.1, 0.1, 0.1, 0.1] 
107 | ])
108 | 
109 | std = np.array([
110 |     [0.1, 0.15, 0.2, 0.25, 0.3], 
111 |     [0.05, 0.05, 0.05, 0.05, 0.05], 
112 |     [0, 0, 0, 0, 0] 
113 | ])
114 | 
115 | # Plot
116 | fig, ax = plt.subplots( 1, figsize=(4, 4))
117 | 
118 | # Config
119 | height = 0.5
120 | 
121 | ax.barh(
122 |     item, value[0], xerr=std[0], 
123 |     height=height, 
124 |     color=cm.Set2(0), 
125 |     label='Value 1',
126 |     capsize=2, 
127 | )
128 | ax.barh(
129 |     item, value[1], xerr=std[1], 
130 |     left=value[0],
131 |     height=height, 
132 |     color=cm.Set2(1), 
133 |     label='Value 2'
134 | )
135 | ax.barh(
136 |     item, value[2], xerr=std[2], 
137 |     left=value[0] + value[1],
138 |     height=height, 
139 |     color=cm.Set2(2), 
140 |     label='Value 2'
141 | )
142 | 
143 | # Label and title
144 | ax.set_xlabel('X Label', **label_font)
145 | ax.set_title('Single Hist Plot (Horizontal)', **title_font)
146 | 
147 | # Legend
148 | ax.legend(loc='lower right', prop=legend_font)
149 | 
150 | # Axis
151 | ax.tick_params(axis='both', which='major', labelsize=12)
152 | 
153 | # Grid
154 | ax.grid(axis='both', color='black', alpha=0.1)
155 | 
156 | plt.tight_layout()
157 | plt.savefig('../fig/single-hist-horizon.jpg', dpi=300)
158 |                 
159 | 175 |
176 |
177 |
178 |
179 | 180 | 181 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | -------------------------------------------------------------------------------- /pages/single-hist-vertical.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 12}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 92 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | 
 94 | # Generate data
 95 | item = [
 96 |     'Model 1',
 97 |     'Model 2',
 98 |     'Model 3',
 99 |     'Model 4',
100 |     'Model 5',
101 | ]
102 | 
103 | value = np.array([
104 |     [1, 1.5, 2, 2.5, 3], 
105 |     [0.2, 0.4, 0.6, 0.8, 1], 
106 |     [0.1, 0.1, 0.1, 0.1, 0.1] 
107 | ])
108 | 
109 | std = np.array([
110 |     [0.1, 0.15, 0.2, 0.25, 0.3], 
111 |     [0.05, 0.05, 0.05, 0.05, 0.05], 
112 |     [0, 0, 0, 0, 0] 
113 | ])
114 | 
115 | # Plot
116 | fig, ax = plt.subplots(1, figsize=(4, 4))
117 | 
118 | # Color list
119 | color = [cm.Set2(1)] + [cm.Set2(0)] * 4
120 | 
121 | ax.bar(
122 |     item, value[0], yerr=std[0], 
123 |     width=0.65, 
124 |     color=color, 
125 |     capsize=2, 
126 | )
127 | 
128 | # Label and title
129 | ax.set_ylabel('Y Label', **label_font)
130 | ax.set_title('Single Hist Plot (Vertical)', **title_font)
131 | 
132 | # Axis
133 | ax.tick_params(axis='both', which='major', labelsize=12)
134 | 
135 | # Grid
136 | ax.grid(axis='both', color='black', alpha=0.1)
137 | 
138 | plt.tight_layout()
139 | plt.savefig('../fig/single-hist-vertical.jpg', dpi=300)
140 |                 
141 | 157 |
158 |
159 |
160 |
161 | 162 | 163 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /pages/single-lineplot-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 92 | text_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | 
 94 | # Generate data
 95 | x = np.linspace(0, 10, 100)
 96 | y1 = x ** 2
 97 | y2 = x ** 2 * np.log(x)
 98 | y3 = x ** 3
 99 | 
100 | fig, ax = plt.subplots(1, figsize=(4, 4))
101 | 
102 | ax.plot(x, y1, color=cm.Set2(0), linestyle='-', linewidth=2)
103 | ax.plot(x, y2, color=cm.Set2(1), linestyle='-.', linewidth=2)
104 | ax.plot(x, y3, color='gray', linestyle='--', linewidth=2)
105 | 
106 | # Label and title
107 | ax.set_xlabel('X Lable', fontdict=label_font)
108 | ax.set_ylabel('Y Lable', fontdict=label_font)
109 | ax.set_title('Single Line Plot 1', fontdict=title_font)
110 | 
111 | # Text info
112 | ax.text(
113 |     4, 180, 
114 |     r'$O(n^3)$' + '\n(Method 1)',
115 |     fontdict=text_font,
116 |     color='gray',
117 |     verticalalignment='center', 
118 |     horizontalalignment='center'
119 | )
120 | ax.text(
121 |     7.3, 180, 
122 |     r'$O(n^2)\mathrm{log}n$' + '\n(Method 2)',
123 |     fontdict=text_font,
124 |     color=cm.Set2(1),
125 |     verticalalignment='center', 
126 |     horizontalalignment='center'
127 | )
128 | ax.text(
129 |     8, 25, 
130 |     r'$O(n^2)$' + '\n(Method 3)',
131 |     fontdict=text_font,
132 |     color=cm.Set2(0),
133 |     verticalalignment='center', 
134 |     horizontalalignment='center'
135 | )
136 | 
137 | # Ticks fontsize and font family
138 | ax.tick_params(axis='both', which='major', labelsize=14)
139 | labels = ax.get_xticklabels() + ax.get_yticklabels()
140 | [label.set_fontname('serif') for label in labels]
141 | 
142 | # Axis range
143 | ax.set_xlim(0, 10)
144 | ax.set_ylim(0, 200)
145 | 
146 | # Grid
147 | ax.grid(axis='both', color='black', alpha=0.1)
148 | 
149 | plt.tight_layout()
150 | plt.savefig('../fig/single-linear-1.jpg', dpi=300)
151 |                 
152 | 168 |
169 |
170 |
171 |
172 | 173 | 174 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | -------------------------------------------------------------------------------- /pages/single-lineplot-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 92 | text_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | 
 94 | # Generate data
 95 | x = np.linspace(0, 10, 100) + 1
 96 | 
 97 | # Line plot
 98 | y1_mean = 1/x
 99 | y1_std = 0.3/x
100 | y2_mean = 0.6/x
101 | y2_std = 0.1/x
102 | 
103 | fig, ax = plt.subplots(1, figsize=(4, 4))
104 | 
105 | ax.plot(x, y1_mean, label='Model 1 Loss', color=cm.Set2(0), linestyle='-', linewidth=2)
106 | ax.plot(x, y2_mean, label='Model 2 Loss', color=cm.Set2(1), linestyle='-', linewidth=2)
107 | ax.fill_between(x, y1_mean - y1_std, y1_mean + y1_std, color=cm.Set2(0), alpha=0.2)
108 | ax.fill_between(x, y2_mean - y2_std, y2_mean + y2_std, color=cm.Set2(1), alpha=0.2)
109 | 
110 | # Label and title
111 | ax.set_xlabel('X Lable', fontdict=label_font)
112 | ax.set_ylabel('Y Lable', fontdict=label_font)
113 | ax.set_title('Single Line Plot 2', fontdict=title_font)
114 | 
115 | # Legend
116 | ax.legend(loc='upper right', prop=legend_font)
117 | 
118 | # Ticks fontsize and font family
119 | ax.tick_params(axis='both', which='major', labelsize=14)
120 | labels = ax.get_xticklabels() + ax.get_yticklabels()
121 | [label.set_fontname('serif') for label in labels]
122 | 
123 | # Axis range
124 | ax.set_xlim(1, 11)
125 | ax.set_ylim(0, 1)
126 | 
127 | # Grid
128 | ax.grid(axis='both', color='black', alpha=0.1)
129 | 
130 | plt.tight_layout()
131 | plt.savefig('../fig/single-linear-2.jpg', dpi=300)
132 |                 
133 | 149 |
150 |
151 |
152 |
153 | 154 | 155 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | -------------------------------------------------------------------------------- /pages/single-lineplot-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 12}
 92 | text_font = {'family': 'Palatino Linotype', 'size': 12}
 93 | 
 94 | # Generate data
 95 | x = np.linspace(0, 10, 100)
 96 | x11 = np.linspace(0, 5, 50)
 97 | x12 = np.linspace(5, 10, 50)
 98 | 
 99 | # Line plot
100 | y1 = x * (x - 5) * (x - 10)
101 | y2 = 0.25 * x * (x - 2.5) * (x - 10)
102 | y3 = 0.25 * x11 * (x11 - 7.5) * (x11 - 10)
103 | y4 = 0.25 * x12 * (x12 - 7.5) * (x12 - 10)
104 | 
105 | # Scatter nodes
106 | x2 = [0, 2.5, 5, 7.5, 10]
107 | x3 = np.linspace(0, 10, 10)
108 | 
109 | fig, ax = plt.subplots(1, figsize=(6, 3))
110 | 
111 | ax.plot(x, y1, color=cm.Set2(0), label='Model 1', linestyle='-',  linewidth=2)
112 | ax.plot(x, y2, color=cm.Set2(1), label='Model 2', linestyle='-.', linewidth=2)
113 | 
114 | ax.plot(x11, y3, color=cm.Set2(2), label='Model 3(1)', linestyle='--', linewidth=2)
115 | ax.plot(x12, y4, color=cm.Set2(3), label='Model 3(2)', linestyle='--', linewidth=2)
116 | ax.plot([5, 5], [-50, 50], color='gray', linestyle='--', linewidth=1)
117 | 
118 | # Fill between line and y=0
119 | ax.fill_between(x, y1, 0, color=cm.Set2(0), alpha=0.1)
120 | ax.fill_between(x, y2, 0, color=cm.Set2(1), alpha=0.1)
121 | 
122 | # Scatter nodes
123 | ax.scatter(x2, [0] * len(x2), label='Node 1', color=cm.Set1(1), marker='o', s=30)
124 | ax.scatter(x3, [0] * len(x3), label='Node 2', color='gray', marker='x', s=50)
125 | 
126 | # Legend
127 | handles, labels = ax.get_legend_handles_labels()
128 | fig.legend(handles, labels, loc='center left', ncol=1, bbox_to_anchor=(0.98, 0.5), prop=legend_font)
129 | 
130 | # Label and title
131 | ax.set_xlabel('X Lable', fontdict=label_font)
132 | ax.set_ylabel('Y Lable', fontdict=label_font)
133 | ax.set_title('Single Line Plot 3', fontdict=title_font)
134 | 
135 | # Ticks fontsize and font family
136 | ax.tick_params(axis='both', which='major', labelsize=14)
137 | labels = ax.get_xticklabels() + ax.get_yticklabels()
138 | [label.set_fontname('serif') for label in labels]
139 | 
140 | # Axis range
141 | ax.set_xlim(0, 10)
142 | ax.set_ylim(-50, 50)
143 | 
144 | # Grid
145 | ax.grid(axis='both', color='black', alpha=0.1)
146 | 
147 | plt.tight_layout()
148 | plt.savefig('../fig/single-linear-3.jpg', dpi=300, bbox_inches='tight')
149 |                 
150 | 166 |
167 |
168 |
169 |
170 | 171 | 172 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | -------------------------------------------------------------------------------- /pages/single-scatter-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 10}
 92 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 93 | 
 94 | # Generate data
 95 | x = [1, 2, 3, 4, 5]
 96 | y = [5, 4, 3, 2, 1]
 97 | 
 98 | label_list = ['Label 1', 'Label 2', 'Label 3', 'Label 4', 'Label 5']
 99 | marker_list = ['o', '^', 'P', '*', 's']
100 | 
101 | # Plot
102 | fig, ax = plt.subplots(1, figsize=(4, 4))
103 | 
104 | for i in range(len(x)):
105 |     ax.scatter(
106 |         x[i], y[i], 
107 |         color=cm.Set2(i), 
108 |         marker=marker_list[i], 
109 |         s=80
110 |     )
111 |     if i < 4: 
112 |         ax.text(
113 |             x[i] + 0.3, y[i], 
114 |             label_list[i], 
115 |             fontdict=text_font, 
116 |             color=cm.Set2(i), 
117 |             verticalalignment='center', 
118 |             horizontalalignment='left'
119 |         )
120 |     else:
121 |         ax.text(
122 |             x[i] - 0.3, y[i], 
123 |             label_list[i], 
124 |             fontdict=text_font, 
125 |             color=cm.Set2(i), 
126 |             verticalalignment='center', 
127 |             horizontalalignment='right'
128 |         )
129 | 
130 | # Label and title
131 | ax.set_xlabel('X Lable', fontdict=label_font)
132 | ax.set_ylabel('Y Lable', fontdict=label_font)
133 | ax.set_title('Single Scatter Plot 1', fontdict=title_font)
134 | 
135 | # Ticks fontsize and font family
136 | ax.tick_params(axis='both', which='major', labelsize=14)
137 | labels = ax.get_xticklabels() + ax.get_yticklabels()
138 | [label.set_fontname('serif') for label in labels]
139 | 
140 | # Grid
141 | ax.grid(axis='both', color='black', alpha=0.1)
142 | 
143 | plt.tight_layout()
144 | plt.savefig('../fig/single-scatter-1.jpg', dpi=300)
145 |                 
146 | 162 |
163 |
164 |
165 |
166 | 167 | 168 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | -------------------------------------------------------------------------------- /pages/single-scatter-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 10}
 92 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 93 | 
 94 | # Generate data
 95 | depot = [0.5, 0.5]
 96 | nodes_x, nodes_y = np.meshgrid(
 97 |     np.linspace(0, 1, 4), 
 98 |     np.linspace(0, 1, 4)
 99 | )
100 | node_prob = np.random.rand(4, 4)
101 | routing_x = [
102 |     [0.5, 0, 0, 0.33, 0.5],
103 |     [0.5, 0.66, 1, 1, 0.5],
104 |     [0.5, 1, 1, 0.66, 0.5],
105 |     [0.5, 0.33, 0, 0, 0.5]
106 | ]
107 | routing_y = [
108 |     [0.5, 0.66, 1, 1, 0.5],
109 |     [0.5, 1, 1, 0.66, 0.5],
110 |     [0.5, 0.33, 0, 0, 0.5],
111 |     [0.5, 0, 0, 0.33, 0.5]
112 | ]
113 | 
114 | # Plot
115 | fig, ax = plt.subplots(1, figsize=(4, 4))
116 | 
117 | # Scatter node
118 | ax.scatter(
119 |     nodes_x, nodes_y,
120 |     edgecolors='gray', 
121 |     facecolors='none', 
122 |     marker='o', 
123 |     linewidths=2,
124 |     s=50
125 | )
126 | ax.scatter(
127 |     depot[0], depot[1],
128 |     color=cm.Set2(1),
129 |     marker='s',
130 |     s=80
131 | )
132 | 
133 | # Plot node probability bar & text
134 | for idx, (x, y) in enumerate(zip(nodes_x.flatten(), nodes_y.flatten())):
135 |     prob = node_prob[idx // 4][idx % 4]
136 |     ax.add_patch(
137 |         plt.Rectangle(
138 |             (x - 0.005, y + 0.02),
139 |             0.01,
140 |             prob * 0.05,
141 |             edgecolor='gray',
142 |             facecolor='gray',
143 |             fill=True,
144 |         )
145 |     )
146 |     ax.text(
147 |         x, y - 0.025,
148 |         f"{prob:.2f}",
149 |         horizontalalignment="center",
150 |         verticalalignment="top",
151 |         fontsize=10,
152 |         color='gray',
153 |     )
154 | 
155 | # Text depot
156 | ax.text(
157 |     depot[0], depot[1] - 0.025,
158 |     f"Depot",
159 |     horizontalalignment="center",
160 |     verticalalignment="top",
161 |     fontsize=10,
162 |     color=cm.Set2(1),
163 | )
164 | 
165 | # Plot routing
166 | for routing_idx in range(4):
167 |     for path_idx in range(4):
168 |         src_x = routing_x[routing_idx][path_idx]
169 |         src_y = routing_y[routing_idx][path_idx]
170 |         dst_x = routing_x[routing_idx][path_idx + 1]
171 |         dst_y = routing_y[routing_idx][path_idx + 1]
172 |         ax.annotate(
173 |             "",
174 |             xy=(dst_x, dst_y),
175 |             xytext=(src_x, src_y),
176 |             arrowprops=dict(
177 |                 arrowstyle="-|>", 
178 |                 color=cm.Set2(routing_idx),
179 |                 lw=1.2,
180 |             ),
181 |             size=15,
182 |             annotation_clip=False,
183 |         )
184 | 
185 | # Axis range
186 | ax.set_xlim(-0.1, 1.1)
187 | ax.set_ylim(-0.1, 1.1)
188 | 
189 | # Label and title
190 | ax.set_xlabel('X Lable', fontdict=label_font)
191 | ax.set_ylabel('Y Lable', fontdict=label_font)
192 | ax.set_title('Single Scatter Plot 2', fontdict=title_font)
193 | 
194 | # Ticks fontsize and font family
195 | ax.tick_params(axis='both', which='major', labelsize=14)
196 | labels = ax.get_xticklabels() + ax.get_yticklabels()
197 | [label.set_fontname('serif') for label in labels]
198 | 
199 | # Grid
200 | ax.grid(axis='both', color='black', alpha=0.1)
201 | 
202 | plt.tight_layout()
203 | plt.savefig('../fig/single-scatter-2.jpg', dpi=300)
204 |                 
205 | 221 |
222 |
223 |
224 |
225 | 226 | 227 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | -------------------------------------------------------------------------------- /pages/single-scatter-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | from matplotlib import cm
 84 | 
 85 | # Use LaTeX font
 86 | plt.rcParams.update({'text.usetex': True})
 87 | 
 88 | # Figure font config
 89 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 90 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 91 | legend_font = {'family': 'Palatino Linotype', 'size': 10}
 92 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 93 | 
 94 | # Generate data
 95 | x = np.linspace(0, 1, 10)
 96 | y1 = [0.55] * 6 + [0.65, 0.80, 0.95, 1.2]
 97 | y2 = [0.45] * 6 + [0.35, 0.20, 0.05, -0.2]
 98 | 
 99 | y1 = np.array(y1)
100 | y2 = np.array(y2)
101 | 
102 | err1_x = np.random.rand(10) * 0.05 - 0.025 
103 | err1_y = np.random.rand(10) * 0.05 - 0.025
104 | err2_x = np.random.rand(10) * 0.05 - 0.025
105 | err2_y = np.random.rand(10) * 0.05 - 0.025
106 | 
107 | # Plot
108 | import matplotlib.patches as patches
109 | 
110 | fig, ax = plt.subplots(1, figsize=(3, 3))
111 | 
112 | # Plot history
113 | ax.plot( x[:4], y1[:4], label='History', color=cm.Set2(2), marker='o', lw=2, markersize=5)
114 | ax.plot( x[:4], y2[:4], color=cm.Set2(2), marker='o', lw=2, markersize=5)
115 | 
116 | # Plot future ground truth
117 | ax.plot( x[4:], y1[4:], label='Future GT', color=cm.Set2(1), marker='o', lw=2, markersize=5)
118 | ax.plot( x[4:], y2[4:], color=cm.Set2(1), marker='o', lw=2, markersize=5)
119 | 
120 | # Connection
121 | ax.plot( [x[3], x[4]], [y1[3], y1[4]], color=cm.Set2(1), lw=2, ls='-')
122 | ax.plot( [x[3], x[4]], [y2[3], y2[4]], color=cm.Set2(1), lw=2, ls='-')
123 | 
124 | # Plot future prediction
125 | ax.plot(x[4:]+err1_x[4:], y1[4:]+err1_y[4:], label='Future Pred', color=cm.Set2(0), marker='o', lw=2, markersize=5)
126 | ax.plot(x[4:]+err2_x[4:], y2[4:]+err2_y[4:], color=cm.Set2(0), marker='o', lw=2, markersize=5)
127 | 
128 | # Connection
129 | ax.plot([x[3], x[4]+err1_x[4]], [y1[3], y1[4]+err1_y[4]], color=cm.Set2(0), lw=2, ls='-')
130 | ax.plot([x[3], x[4]+err2_x[4]], [y2[3], y2[4]+err2_y[4]], color=cm.Set2(0), lw=2, ls='-')
131 | 
132 | # Add map items
133 | ax.add_patch(patches.Rectangle((-0.1, 0.6), 0.6, 0.6, edgecolor='grey', 
134 |                                facecolor='lightgrey', lw=1, fill=True,))
135 | ax.add_patch(patches.Rectangle((-0.1, -0.1), 0.6, 0.5, edgecolor='grey', 
136 |                                facecolor='lightgrey', lw=1, fill=True,))
137 | ax.add_patch(patches.Polygon([(0.7, 0.5), (1.1, 1.1), (1.1, -0.1)], 
138 |                              edgecolor='grey', facecolor='lightgrey', lw=1, fill=True,))
139 | 
140 | # Text infomation
141 | ax.text(
142 |     0.7, 0.9,
143 |     'Agent 1',
144 |     fontdict=text_font,
145 |     color='black',
146 |     verticalalignment='center', 
147 |     horizontalalignment='center'
148 | )
149 | ax.text(
150 |     0.7, 0.1,
151 |     'Agent 2',
152 |     fontdict=text_font,
153 |     color='black',
154 |     verticalalignment='center', 
155 |     horizontalalignment='center'
156 | )
157 | 
158 | # Legend
159 | ax.legend(loc='lower left', prop=legend_font)
160 | 
161 | # Axis range
162 | ax.set_xlim(0, 1)
163 | ax.set_ylim(0, 1)
164 | 
165 | # Label and title
166 | ax.get_xaxis().set_visible(False)
167 | ax.get_yaxis().set_visible(False)
168 | ax.set_title('Single Scatter Plot 3', fontdict=title_font)
169 | 
170 | plt.tight_layout()
171 | plt.savefig('../fig/single-scatter-3.jpg', dpi=300)
172 |                 
173 | 189 |
190 |
191 |
192 |
193 | 194 | 195 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /pages/single-scatter-4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import numpy as np
 82 | import matplotlib.pyplot as plt
 83 | import matplotlib.patches as patches
 84 | from matplotlib import cm
 85 | 
 86 | # Use LaTeX font
 87 | plt.rcParams.update({'text.usetex': True})
 88 | 
 89 | # Figure font config
 90 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 91 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 92 | legend_font = {'family': 'Palatino Linotype', 'size': 10}
 93 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 94 | 
 95 | # Load data
 96 | value = np.load('../data/single-scatter-4-value.npy')
 97 | x = np.linspace(0, 256, 18, endpoint=True)
 98 | y = np.linspace(0, 256, 18, endpoint=True)
 99 | 
100 | # Plot
101 | fig, ax = plt.subplots(1, figsize=(3, 3))
102 | 
103 | # Plot background value
104 | ax.matshow(value, cmap=cm.RdGy, alpha=0.8)
105 | 
106 | # Collocation Point
107 | for i in x:
108 |     for j in y:
109 |         ax.scatter(i, j, color='black', marker='.', s=5)
110 | 
111 | # Mesh
112 | for i in range(17):
113 |     for j in range(17):
114 |         ax.plot([x[i], x[i+1]], [y[j], y[j]], color='black', linewidth=0.5)
115 |         ax.plot([x[i], x[i]], [x[j], y[j+1]], color='black', linewidth=0.5)
116 | 
117 | # Axis range
118 | ax.set_xlim(0, 256)
119 | ax.set_ylim(0, 256)
120 | ax.invert_yaxis()
121 | 
122 | # Label and title
123 | ax.get_xaxis().set_visible(False)
124 | ax.get_yaxis().set_visible(False)
125 | ax.set_title('Single Scatter Plot 4', fontdict=title_font)
126 | 
127 | plt.tight_layout()
128 | plt.savefig('../fig/single-scatter-4.jpg', dpi=300)
129 |                 
130 | 146 |
147 |
148 |
149 |
150 | 151 | 152 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | -------------------------------------------------------------------------------- /pages/single-scatter-5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
Skip to main content
41 | 42 | 43 | 72 | 73 |
74 |
75 |
76 |
77 | 78 |

79 |

 80 | # Packages
 81 | import cv2 as cv
 82 | import numpy as np
 83 | import matplotlib.pyplot as plt
 84 | import matplotlib.patches as patches
 85 | from matplotlib import cm
 86 | 
 87 | # Use LaTeX font
 88 | plt.rcParams.update({'text.usetex': True})
 89 | 
 90 | # Figure font config
 91 | label_font = {'fontfamily': 'Arial Black', 'fontsize': 14}
 92 | title_font = {'fontfamily': 'Arial Black', 'fontsize': 16}
 93 | legend_font = {'family': 'Palatino Linotype', 'size': 10}
 94 | text_font = {'family': 'Palatino Linotype', 'fontsize': 12}
 95 | 
 96 | # Load data
 97 | # Note: shape = [num_step, num_agent, position]
 98 | # last agent is the basketball
 99 | hist = np.load('../data/single-scatter-5-hist.npy')
100 | pred = np.load('../data/single-scatter-5-pred.npy')
101 | 
102 | # Scale the data
103 | hist[..., 0] = hist[..., 0] * 15
104 | hist[..., 1] = hist[..., 1] * 8
105 | pred[..., 0] = pred[..., 0] * 15
106 | pred[..., 1] = pred[..., 1] * 8
107 | 
108 | # Plot
109 | fig, ax = plt.subplots(1, figsize=(5, 5))
110 | 
111 | # Plot the beckground court
112 | img = cv.imread('../fig/utils/court.png')
113 | img = cv.cvtColor(img, cv.COLOR_BGR2RGB)
114 | ax.imshow(img, extent=[0, 15, 0, 8], alpha=0.6)
115 | 
116 | # Scatter history trajectory
117 | ax.plot(hist[:, :5, 0], hist[:, :5, 1], label='History Team 1', color=cm.Set2(3), 
118 |         marker='o', lw=2, markersize=5, alpha=0.7)
119 | ax.plot(hist[:, 5:-1, 0], hist[:, 5:-1, 1], label='History Team 2', color=cm.Set2(2), 
120 |         marker='o', lw=2, markersize=5, alpha=0.7)
121 | 
122 | # Scatter future trajectory
123 | ax.plot(pred[:, :5, 0], pred[:, :5, 1], label='Future Team 1', color=cm.Set2(1), 
124 |         marker='o', lw=2, markersize=5, alpha=0.7)
125 | ax.plot(pred[:, 5:-1, 0], pred[:, 5:-1, 1], label='Future Team 2', color=cm.Set2(0), 
126 |         marker='o', lw=2, markersize=5, alpha=0.7)
127 | 
128 | # Scatter the basketball
129 | ax.plot(hist[:, -1, 0], hist[:, -1, 1], label='Basketball', color=cm.Set1(0), 
130 |         marker='^', lw=2, markersize=5, alpha=0.7)
131 | ax.plot(pred[:, -1, 0], pred[:, -1, 1], color=cm.Set1(0), 
132 |         marker='^', lw=2, markersize=5, alpha=0.7)
133 | 
134 | # Connect history and future
135 | ax.plot([hist[0, :5, 0], pred[-1, :5, 0]], [hist[0, :5, 1], pred[-1, :5, 1]], 
136 |         color=cm.Set2(1), lw=2, ls='-', alpha=0.7)
137 | ax.plot([hist[0, 5:-1, 0], pred[-1, 5:-1, 0]], [hist[0, 5:-1, 1], pred[-1, 5:-1, 1]], 
138 |         color=cm.Set2(0), lw=2, ls='-', alpha=0.7)
139 | ax.plot([hist[0, -1, 0], pred[-1, -1, 0]], [hist[0, -1, 1], pred[-1, -1, 1]], 
140 |         color=cm.Set1(0), lw=2, ls='-', alpha=0.7)
141 | 
142 | # Label and title
143 | ax.get_xaxis().set_visible(False)
144 | ax.get_yaxis().set_visible(False)
145 | ax.set_title('Single Scatter Plot 5', fontdict=title_font)
146 | 
147 | # Legend
148 | handles, labels = ax.get_legend_handles_labels()
149 | labels = dict(zip(labels, handles))
150 | fig.legend(labels.values(), labels.keys(), loc='lower center', ncol=3, bbox_to_anchor=(0.5, 0.12), prop=legend_font)
151 | 
152 | plt.tight_layout()
153 | plt.savefig('../fig/single-scatter-5.jpg', dpi=300)
154 |                 
155 | 171 |
172 |
173 |
174 |
175 | 176 | 177 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | -------------------------------------------------------------------------------- /posts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Matplotlib Prefabs 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 |
Skip to main content
36 | 37 | 38 | 67 | 68 |
69 |
70 |

Posts

71 |

72 | [TBD] Some posts about the prefabs. We will update this page soon. 73 |

74 |
75 |
76 | 77 | 78 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /vendor/bootstrap/js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.7 (http://getbootstrap.com) 3 | * Copyright 2011-2016 Twitter, Inc. 4 | * Licensed under the MIT license 5 | */ 6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); -------------------------------------------------------------------------------- /vendor/font-awesome/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.3');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} 5 | -------------------------------------------------------------------------------- /vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- 1 | No Content: https://www.cs.cmu.edu/~jianma/vendor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3 --------------------------------------------------------------------------------