Skip to main content

Football pitch plot

Python library using Plotly for plotting a football pitch with events. Examples can be found here: http://blog.stryktipsetisistastund.se/tag/plotly/

Installation

Requires the plotly lib to be available and set up. See: https://plot.ly/python/getting-started/

Usage

from pitchplotter.plotter import Plotter

plotter = Plotter("Demo")

#create array as follows: [xpos, ypos, 'event name', event size]
demo_arr = [
    [25,50,'Event 1', 34],
    [35,41,'Event 2', 14],
    [20,33,'Event 3', 23],
    [10,52,'Event 4', 56],
    [45,60,'Event 5', 9]
]

plotter.add_events(demo_arr, "Demo events")

plotter.plot()

Metadata

Release files for footballpitchplot 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for footballpitchplot 0.1
File Size Uploaded Provenance Actions
footballpitchplot-0.1.tar.gz 2.1 kB Without provenance Details for footballpitchplot-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for footballpitchplot 0.1
File Interpreter ABI Platform Actions
footballpitchplot-0.1-py2-none-any.whl Python 2 none any Details for footballpitchplot-0.1-py2-none-any.whl

Total release size: 5.3 kB

Release files / footballpitchplot-0.1.tar.gz

Download URL footballpitchplot-0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
51e4836f03be8aff1deb39cbcc0a1a1cd7b34da2e74a0209fbe74e4caf5d017b
BLAKE2b-256 checksum
How to use checksums
9a93f3dad5bfc97dafa42912d18206c31aa27bc1b6f03ca3c3deed69a648e992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / footballpitchplot-0.1-py2-none-any.whl

Download URL footballpitchplot-0.1-py2-none-any.whl
Size 3.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
719bb80129263e6e70da84333c637ad1601df6b8eceac42729c87d02bc533311
BLAKE2b-256 checksum
How to use checksums
20ac1939ce1591cf877e480f355beadf3082370dcf427eb3602cda822d6224c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for footballpitchplot 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page