Package: codeplot
Demo·Discordcodeplot is a dynamic spatial canvas for data exploration, offering an interactive environment for graphing and visualizing data with Python.Created by@antl3x,read moreabout its inception.Video DemoWhy 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 atcodeplot.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 (IPython Extension)To use codeplot in a IPython Notebook like Jupyter, Google Colab, etc, you can install the IPython Extension using pip:pipinstallcodeplot-ipythonAfter install you can load the extension and connect to a new room:%load_extcodeplot-ipython%cP_connectws://your-ws-url/your-room-idNow the output of your cells will be automatically plotted in the codeplot canvas! So you don't need to use thecP.plotfunction.Thats all!Getting Started (Python SDK)If you want to use codeplot in a Python script, and have a more "fine-grained" control over the plots, you can use the Python SDK.To get started with codeplot, you can install the package using pip:pipinstallcodeplotOnce installed, you can start using codeplot by importing the package and connectig to a new room:importasyncioimportcodeplotasyncdefmain():cP=awaitcodeplot.connect("ws://your-ws-url/your-room-id")# Now you can start plottingawaitcP.plot(df.describe())awaitcP.plot(df.head(10))awaitcP.plot(df)asyncio.run(main())You can use the public codeplot client & server to start plotting right away:Join the codeplot room atcodeplot.coUse the room id to connect to the room using the code aboveIf you want to use codeplot in a Jupyter Notebook, you can use the following code:importcodeplotcP=awaitcodeplot.connect("ws://your-ws-url/your-room-id")# Now you can start plottingawaitcP.plot(df.describe())awaitcP.plot(df.head(10))awaitcP.plot(df)Run Codeplot on DockerInstead 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:curl-shttps://raw.githubusercontent.com/codeplot-co/codeplot/master/minirepos/@codeplot-docker/docker-compose.yaml|docker-compose-f-upOr if you are using docker-compose v2, you can use the following command insteadcurl-shttps://raw.githubusercontent.com/codeplot-co/codeplot/master/minirepos/@codeplot-docker/docker-compose.yaml|dockercompose-f-upThis will start a codeplot server and a client on your local machine, and you can access it at:Client:http://localhost:9107Server:ws://localhost:9108Join the codeplot CommunityBecome part of a forward-thinking community dedicated to advancing data visualization. Connect, engage, and grow with peers onDiscord. With codeplot, data visualization is a shared journey. Let's explore new insights together!License and PricingCodeplot is crafted to support a wide range of users, from individuals exploring their personal projects to enterprises seeking to enhance their business processes. To accommodate this diversity, Codeplot adopts a dual-license approach.Codeplot is free to use for personal and non-commercial purposes.Only pay if you use Codeplot commercially.Read more aboutLicense and Pricing here.