Skip to main content

codeplot is a canvas designed for code-driven data exploration where you can plot graphs, data frames, markdown and much more using plain Python

Project description

codeplot-readme


codeplot is a dynamic spatial canvas for data exploration, offering an interactive environment for graphing and visualizing data with Python.

Created by @antl3x, read more about its inception.

Why Choose codeplot?

  • Dynamic Visualization: Break free from static images and rigid layouts. codeplot brings your data to life on an interactive canvas.

  • Easy Integration: Directly plot from your Python code or REPL into your canvas at codeplot.co.

  • Varied Visualizations: From basic charts to advanced widgets, codeplot supports a wide range of data representations.

  • Flexible Layouts: Arrange your visualizations to suit your workflow, with draggable and movable plots.

  • Open to Everyone: Designed for data scientists and enthusiasts alike, codeplot aims to enhance your data exploration experience.

Getting Started (Python SDK)

To get started with codeplot, you can install the package using pip:

pip install codeplot

Once installed, you can start using codeplot by importing the package and connectig to a new room:

import asyncio
import codeplot

async def main():
    cP = await codeplot.connect("ws://your-ws-url/your-room-id")

    # Now you can start plotting
    await cP.plot(df.describe())
    await cP.plot(df.head(10))
    await cP.plot(df)

asyncio.run(main())

You can use the public codeplot client & server to start plotting right away:

  1. Join the codeplot room at codeplot.co
  2. Use the room id to connect to the room using the code above

If you want to use codeplot in a Jupyter Notebook, you can use the following code:

import codeplot
cP = await codeplot.connect("ws://your-ws-url/your-room-id")

# Now you can start plotting
await cP.plot(df.describe())
await cP.plot(df.head(10))
await cP.plot(df)

Run Codeplot on Docker

Instead of using the public codeplot server, you can self-host and run codeplot on your local machine using Docker. To do so, you can use the following command:

docker run -p 9107:9107 -p 9108:9108 codeplot/codeplot

This will start a codeplot server and a client on your local machine, and you can access it at:

Join the codeplot Community

Become part of a forward-thinking community dedicated to advancing data visualization. Connect, engage, and grow with peers on Discord. With codeplot, data visualization is a shared journey. Let's explore new insights together!

Project details


Download files

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

Source Distribution

codeplot-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

codeplot-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file codeplot-0.1.0.tar.gz.

File metadata

  • Download URL: codeplot-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for codeplot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c10d8d3ba7862e42e6584f58e881d29ccfa82da72c1c1a1ed1c8717892d7b99
MD5 0ac3dff273dccffbb5256751b078c2a8
BLAKE2b-256 5cd442b7990f6cded0a9f141b3dc849d5558dc49f4643774639ca240a05f79af

See more details on using hashes here.

File details

Details for the file codeplot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: codeplot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for codeplot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d69aafbbb66b7a90b81db54be79313ace0fadb22a94a0b02dfed01e14b5f51ce
MD5 3d30283fa64fa88cf2cbb42fac5f44ae
BLAKE2b-256 8bc6450dd5262a0c9ae1403544107ff034f6a5aec911e9f9345fa36ef33c6fbf

See more details on using hashes here.

Supported by

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