Skip to content

contour plot can hang event thread #190

Description

@jbfaden

The events bar renderer has a timer which will abort drawing if it's taking too long, so that the application doesn't hang because a huge dataset is plotted. I noticed the contour plot can hang the event thread--there's no timer like there is with the events renderer. One needs to be added. (I should probably review other render types for this too.)

For example in Autoplot:

ds= distance(1000,1000,400,400,100,200)+outerProduct(sin(linspace(0,10*TAU,1000)),ones(1000))
ds= ds+randn(1000,1000)/4
p,pe=plot(ds,renderType='contour>levels=0.')
sleep(1000)
pe.renderControl='color=blue'
sleep(1000)
annotation(text='about to hang application...',anchorPosition='NW')
pe.renderControl='levels=+0.1'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions