Questions tagged [chaco]

Chaco is a Python plotting application toolkit that facilitates writing plotting applications at all levels of complexity.

Chaco is part of the Enthought Python libraries and is designed to allow complex interactive plotting interfaces.

The home page lists the key features as:

  • Flexible drawing layout which allows nesting and complex layouts
  • Modular and extensible architecture with well defined interfaces and abstract classes which allow customisation
  • Data model for ease of extension and embedding a sophisticated "generic data pipeline"

Chaco can be used for either static publications or dynamic data visualisations. Some commonly supported plot types include:

  • Simple line, scatter or bar charts
  • Vertical plot
  • Line drawings
  • Zooming plots
  • Colormaps
  • Contour plots

Examples gallery: http://code.enthought.com/projects/chaco/gallery.php
Available from: http://code.enthought.com/chaco/
Documentation: http://docs.enthought.com/chaco/
Source Code: https://github.com/enthought/chaco

91 questions
0
votes
2 answers

Chaco marker properties

I am looking for a way to use empty circles as markers in Chaco (something like using markeredgecolor in matplotlib). Unfortunately, I haven't been able to find a list of properties that can be passed to enthought.chaco.api.Plot.plot() to do that,…
antony
  • 2,877
  • 4
  • 31
  • 43
0
votes
1 answer

Strange "Access Denied" error when building a Python package on Windows using conda

I'm attempting to build the Chaco package, using: conda build --numpy=1.16 --use-local conda.recipe\chaco I'm getting this very strange error midway through the build: Using…
dbanas
  • 1,707
  • 14
  • 24
0
votes
1 answer

GraphicsContextArray missing its __swig_setmethods__ attribute?

After porting one of my Traits/UI/Chaco/Enable projects from Python2 to Python3, I'm getting the following error, which I'm having a hard time troubleshooting. I was hoping someone might have a suggestion for making forward…
dbanas
  • 1,707
  • 14
  • 24
0
votes
1 answer

Using Chaco in Python 3.6 (Anaconda)

I'm here because I've tried to install the Chaco module on Anaconda and it doesn't work. First I've tried the simple command: conda install -c anaconda chaco=4.5.0 but it returns package specification problems: UnsatisfiableError: The following…
Valentin Mercier
  • 385
  • 1
  • 4
  • 16
0
votes
1 answer

scrollbar does not work in recent chaco releases

This program was running fine in chaco 3.2, but with chaco 4, scrollbar does not show at all. I would like either to find the problem or find a workaround. PanTool may be a workaround, but this will conflict with some linecursors used with…
sancelot
  • 1,905
  • 12
  • 31
0
votes
1 answer

How to turn off antialiasing in Chaco plots

Chaco always plots lines antialiased, so the output normally looks nice and smooth: But antialiasing takes time and makes real-time plotting much slower. In specific cases I still would like to have non-antialiased plots. I haven't found in docs…
funnyp0ny
  • 298
  • 1
  • 12
0
votes
0 answers

Importing numpy fails

I originally installed the anaconda distribution of python and have been coding primarily in Spyder. Recently I tried to install the Chaco visualization library and had a lot of trouble getting it to work using pip install - so instead I installed…
Sean
  • 51
  • 4
0
votes
1 answer

2D Range Selection Box in Chaco (Enthought)

I am trying to draw a 2D selection box on an image plot and get out the selected region. I cannot find the appropriate tool to do this. I assumed RangeSelection2D would be appropriate for this but it seems to only actually select 1 of the 2 axes. I…
user2175850
  • 193
  • 2
  • 13
0
votes
1 answer

What is a good link to examples of enaml being used with traits and matplotlib?

I have done GUI construction but not in Python. From other stack exchange questions and my own investigation. It looks like I want to use enaml and traits for the bulk of this work. Are there any links or references to help me get started. This is…
0
votes
0 answers

Chaco: How to avoid zoom reset to reset axis range

I have set the range of my y-axis to a fixed range plot.y_axis.mapper.range.set(low_setting=ylim[0], high_setting=ylim[1]) Then, when the user uses the zoom tool, and clicks the reset zoom key, e.g. ESC, the y-axis is reset to tightbounds. But my…
thorsan
  • 1,034
  • 8
  • 19
0
votes
1 answer

How to use mingw32 when cross compiling a distutils package?

I am developing linux python applications, but they are too packaged to be deployed in windows environment. I use to do everything from linux development platform. At the moment, however I need cross compiling python chaco library for win32. I need…
sancelot
  • 1,905
  • 12
  • 31
0
votes
1 answer

Starting a new event loop for chaco-traits popup window from pyside?

I am trying to make a numpy image slider using chaco which is launched from PySide. Ive tried using matplotlib but it lacked the speed for updating so Ive been trying chaco instead. The script below starts by initializing a Pyside dialog, from here…
kezzos
  • 3,023
  • 3
  • 20
  • 37
0
votes
1 answer

Chaco - Getting multiple data series to use the same axes and maps

I am trying to plot several collections of data on a single plot. Each dataset can be represented as an x-series (index) and several y-series (values). The ranges of x and y data series may be different in each data set. I want to have several of…
user2175850
  • 193
  • 2
  • 13
0
votes
1 answer

Plotting multiple time series using VPlotContainers in Chaco. Limit to the number of VPlotContainer objects you can use

I wish to plot multiple time series data stored in a NumPy array, in the same plot but with each time series offset, so effectively it has it's own Y axis. I figured the best way to do this may be to put each series in a separate VPlotContainer,…
Philip Lawrence
  • 215
  • 2
  • 8
0
votes
1 answer

Python Chaco Plotting - Draw a text label on plot using PlotLabel

I am trying to add several text labels to my Chaco Polygon Plot. My Polygon Plot works fine, however, I can't work out how to get the text labels to appear at custom locations on the plot. I think I need to use the chaco.plot_label.PlotLabel object.…
user2175850
  • 193
  • 2
  • 13