https://github.com/gwastro/pycbc
- HEAD
- refs/heads/ahnitz-patch-1
- refs/heads/gh-pages
- refs/heads/include_binaries_codeclimate
- refs/heads/lightningpe
- refs/heads/master
- refs/heads/revert-4629-revert-4595-mnt/upload-artifacts-v4
- refs/heads/v11_release_branch
- refs/heads/v16_release_branch
- refs/heads/v21_release_branch
- refs/heads/v23_release_branch
- refs/tags/1.1.1
- refs/tags/1.13.4
- refs/tags/1.5.pre0
- refs/tags/pycbc_live_0p3
- refs/tags/pycbc_live_0p6
- refs/tags/pycbc_review_1
- refs/tags/pycbc_review_2
- refs/tags/v0.1.2
- refs/tags/v1.0.0
- refs/tags/v1.0.1
- refs/tags/v1.1.0
- refs/tags/v1.1.2
- refs/tags/v1.1.3
- refs/tags/v1.1.4
- refs/tags/v1.1.5
- refs/tags/v1.1.6
- refs/tags/v1.1.7
- refs/tags/v1.1.8
- refs/tags/v1.10.0
- refs/tags/v1.10.1
- refs/tags/v1.11.0
- refs/tags/v1.11.1
- refs/tags/v1.11.11
- refs/tags/v1.11.12
- refs/tags/v1.11.13
- refs/tags/v1.11.14
- refs/tags/v1.11.2
- refs/tags/v1.11.3
- refs/tags/v1.11.4
- refs/tags/v1.11.5
- refs/tags/v1.11.8
- refs/tags/v1.11.9
- refs/tags/v1.12.0
- refs/tags/v1.12.1
- refs/tags/v1.12.2
- refs/tags/v1.12.3
- refs/tags/v1.12.4
- refs/tags/v1.13.0
- refs/tags/v1.13.1
- refs/tags/v1.13.2
- refs/tags/v1.13.3
- refs/tags/v1.13.4
- refs/tags/v1.13.5
- refs/tags/v1.13.6
- refs/tags/v1.13.7
- refs/tags/v1.13.8
- refs/tags/v1.14.0
- refs/tags/v1.14.1
- refs/tags/v1.14.2
- refs/tags/v1.14.3
- refs/tags/v1.14.4
- refs/tags/v1.15.0
- refs/tags/v1.15.1
- refs/tags/v1.15.2
- refs/tags/v1.15.3
- refs/tags/v1.15.4
- refs/tags/v1.15.5
- refs/tags/v1.15.6
- refs/tags/v1.16.0
- refs/tags/v1.16.1
- refs/tags/v1.16.10
- refs/tags/v1.16.11
- refs/tags/v1.16.12
- refs/tags/v1.16.13
- refs/tags/v1.16.14
- refs/tags/v1.16.2
- refs/tags/v1.16.3
- refs/tags/v1.16.4
- refs/tags/v1.16.5
- refs/tags/v1.16.6
- refs/tags/v1.16.7
- refs/tags/v1.16.8
- refs/tags/v1.16.9
- refs/tags/v1.17.0
- refs/tags/v1.17.1
- refs/tags/v1.18.0
- refs/tags/v1.18.1
- refs/tags/v1.18.2
- refs/tags/v1.18.3
- refs/tags/v1.2.0
- refs/tags/v1.2.1
- refs/tags/v1.2.2
- refs/tags/v1.2.3
- refs/tags/v1.2.4
- refs/tags/v1.2.5
- refs/tags/v1.2.6
- refs/tags/v1.3.0
- refs/tags/v1.3.1
- refs/tags/v1.3.2
- refs/tags/v1.3.3
- refs/tags/v1.3.4
- refs/tags/v1.3.5
- refs/tags/v1.3.6
- refs/tags/v1.3.7
- refs/tags/v1.3.8
- refs/tags/v1.3.8re0
- refs/tags/v1.4.0
- refs/tags/v1.5.1
- refs/tags/v1.5.10
- refs/tags/v1.5.2
- refs/tags/v1.5.3
- refs/tags/v1.5.4
- refs/tags/v1.5.5
- refs/tags/v1.5.6
- refs/tags/v1.5.7
- refs/tags/v1.5.8
- refs/tags/v1.5.9
- refs/tags/v1.5.pre0
- refs/tags/v1.5.pre00
- refs/tags/v1.6.0
- refs/tags/v1.6.1
- refs/tags/v1.6.2
- refs/tags/v1.6.3
- refs/tags/v1.6.4
- refs/tags/v1.6.5
- refs/tags/v1.6.6
- refs/tags/v1.6.7
- refs/tags/v1.6.8
- refs/tags/v1.7.0
- refs/tags/v1.7.1
- refs/tags/v1.7.10
- refs/tags/v1.7.11
- refs/tags/v1.7.2
- refs/tags/v1.7.3
- refs/tags/v1.7.4
- refs/tags/v1.7.5
- refs/tags/v1.7.6
- refs/tags/v1.7.7
- refs/tags/v1.7.8
- refs/tags/v1.7.9
- refs/tags/v1.8.0
- refs/tags/v1.8.1
- refs/tags/v1.8.2
- refs/tags/v1.9.0
- refs/tags/v1.9.1
- refs/tags/v1.9.2
- refs/tags/v1.9.3
- refs/tags/v1.9.4
- refs/tags/v2.0.0
- refs/tags/v2.0.1
- refs/tags/v2.0.2
- refs/tags/v2.0.3
- refs/tags/v2.0.4
- refs/tags/v2.0.5
- refs/tags/v2.0.6
- refs/tags/v2.1.0
- refs/tags/v2.1.1
- refs/tags/v2.1.2
- refs/tags/v2.1.3
- refs/tags/v2.1.4
- refs/tags/v2.1.5
- refs/tags/v2.1.6
- refs/tags/v2.2.0
- refs/tags/v2.2.1
- refs/tags/v2.2.2
- refs/tags/v2.3.0
- refs/tags/v2.3.1
- refs/tags/v2.3.2
- refs/tags/v2.3.3
- refs/tags/v2.3.4
- refs/tags/v2.3.5
- refs/tags/v2.3.6
- refs/tags/v2.3.7
- refs/tags/v2.4.0
- refs/tags/v2.4.1
- refs/tags/v2.4.2
- refs/tags/v2.5.0
- refs/tags/v2.5.1
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: 90cb36d794a1d914309977e435411c535bf85d58 authored by Duncan Brown on 02 December 2016, 16:04:00 UTC
Fix typo and catch other open statement (#1306)
Fix typo and catch other open statement (#1306)
Tip revision: 90cb36d
plot.py
""" Plotting utilities and premade plot configurations
"""
def hist_overflow(val, val_max, **kwds):
""" Make a histogram with an overflow bar above val_max """
import pylab, numpy
overflow = len(val[val>=val_max])
pylab.hist(val[val<val_max], **kwds)
if 'color' in kwds:
color = kwds['color']
else:
color = None
if overflow > 0:
rect = pylab.bar(val_max+0.05, overflow, .5, color=color)[0]
pylab.text(rect.get_x(),
1.10*rect.get_height(), '%s+' % val_max)