Skip to main content

visualize queue with matplotlib

Project description

visualize_queue

this program visualize queue, so you can see and understand how queue makes work this defaults to to 3 seconds per action. if you want to change time, change plt.pause()

Example usage

if name == "main":

q1 = QueueVisualization()

q1.enqueue(12)

q1.enqueue(3)

q1.dequeue()

q1.enqueue(8)

q1.dequeue()

plt.show()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

visualize_queue-0.0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file visualize_queue-0.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for visualize_queue-0.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 861a36f29b8656605ef220626448a1ed57bab87411e680e419f997d061194ce5
MD5 c24fd916b72869791c17ba7a2424e5d7
BLAKE2b-256 ab2951d0f98b9fe54667c5129f9a27622c2dfbe288fc8bea80759b3428008cc9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page