forked from matplotlib/mpl-brochure-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a clone of the v3.3.4 index.html with all of the internal references changed to point at stable/.
- Loading branch information
0 parents
commit f45bfd3
Showing
58 changed files
with
16,479 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
License agreement for Matplotlib versions 1.3.0 and later | ||
========================================================= | ||
|
||
1. This LICENSE AGREEMENT is between the Matplotlib Development Team | ||
("MDT"), and the Individual or Organization ("Licensee") accessing and | ||
otherwise using matplotlib software in source or binary form and its | ||
associated documentation. | ||
|
||
2. Subject to the terms and conditions of this License Agreement, MDT | ||
hereby grants Licensee a nonexclusive, royalty-free, world-wide license | ||
to reproduce, analyze, test, perform and/or display publicly, prepare | ||
derivative works, distribute, and otherwise use matplotlib | ||
alone or in any derivative version, provided, however, that MDT's | ||
License Agreement and MDT's notice of copyright, i.e., "Copyright (c) | ||
2012- Matplotlib Development Team; All Rights Reserved" are retained in | ||
matplotlib alone or in any derivative version prepared by | ||
Licensee. | ||
|
||
3. In the event Licensee prepares a derivative work that is based on or | ||
incorporates matplotlib or any part thereof, and wants to | ||
make the derivative work available to others as provided herein, then | ||
Licensee hereby agrees to include in any such work a brief summary of | ||
the changes made to matplotlib . | ||
|
||
4. MDT is making matplotlib available to Licensee on an "AS | ||
IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR | ||
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND | ||
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS | ||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB | ||
WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. | ||
|
||
5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB | ||
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR | ||
LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING | ||
MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF | ||
THE POSSIBILITY THEREOF. | ||
|
||
6. This License Agreement will automatically terminate upon a material | ||
breach of its terms and conditions. | ||
|
||
7. Nothing in this License Agreement shall be deemed to create any | ||
relationship of agency, partnership, or joint venture between MDT and | ||
Licensee. This License Agreement does not grant permission to use MDT | ||
trademarks or trade name in a trademark sense to endorse or promote | ||
products or services of Licensee, or any third party. | ||
|
||
8. By copying, installing or otherwise using matplotlib , | ||
Licensee agrees to be bound by the terms and conditions of this License | ||
Agreement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Matplotlib Brochure site | ||
|
||
This is the source for the top-level index.html for matplotlib.org | ||
|
||
|
||
## Deployment | ||
|
||
Copy the contents of `site/` to the top level of | ||
`matplotlib/matplotlib.github.com` and push to the default branch. | ||
|
||
## CSS cache-busting | ||
|
||
If you change the css files it is important to also change the query | ||
parameter on the css link to ensure that users will not see a mix of new | ||
content and old css. For example | ||
|
||
```html | ||
<link rel="stylesheet" href="_static/mpl.css?v1" type="text/css" /> | ||
``` | ||
|
||
to | ||
|
||
|
||
```html | ||
<link rel="stylesheet" href="_static/mpl.css?v2" type="text/css" /> | ||
``` | ||
|
||
The query parameter will be ignored when serving the file from the origin but | ||
will be taken into consideration by both cloudflare and users browsers when | ||
identifying cache hits. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* Copy buttons */ | ||
a.copybtn { | ||
position: absolute; | ||
top: .2em; | ||
right: .2em; | ||
width: 1em; | ||
height: 1em; | ||
opacity: .3; | ||
transition: opacity 0.5s; | ||
border: none; | ||
user-select: none; | ||
} | ||
|
||
div.highlight { | ||
position: relative; | ||
} | ||
|
||
a.copybtn > img { | ||
vertical-align: top; | ||
margin: 0; | ||
top: 0; | ||
left: 0; | ||
position: absolute; | ||
} | ||
|
||
.highlight:hover .copybtn { | ||
opacity: 1; | ||
} | ||
|
||
/** | ||
* A minimal CSS-only tooltip copied from: | ||
* https://codepen.io/mildrenben/pen/rVBrpK | ||
* | ||
* To use, write HTML like the following: | ||
* | ||
* <p class="o-tooltip--left" data-tooltip="Hey">Short</p> | ||
*/ | ||
.o-tooltip--left { | ||
position: relative; | ||
} | ||
|
||
.o-tooltip--left:after { | ||
opacity: 0; | ||
visibility: hidden; | ||
position: absolute; | ||
content: attr(data-tooltip); | ||
padding: 2px; | ||
top: 0; | ||
left: -.2em; | ||
background: grey; | ||
font-size: 1rem; | ||
color: white; | ||
white-space: nowrap; | ||
z-index: 2; | ||
border-radius: 2px; | ||
transform: translateX(-102%) translateY(0); | ||
transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); | ||
} | ||
|
||
.o-tooltip--left:hover:after { | ||
display: block; | ||
opacity: 1; | ||
visibility: visible; | ||
transform: translateX(-100%) translateY(0); | ||
transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); | ||
transition-delay: .5s; | ||
} |
Oops, something went wrong.