# Corrplot fails

**URL:** https://discourse.julialang.org/t/corrplot-fails/28639
**Category:** Visualization
**Created:** [September 11, 2019, 8:14am UTC](https://discourse.julialang.org/t/corrplot-fails/28639 "2019-09-11T08:14:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![moesphere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/moesphere/32/3348_2.png) [@moesphere](https://discourse.julialang.org/u/moesphere)
#### Post date: [September 11, 2019, 8:14am UTC](https://discourse.julialang.org/t/corrplot-fails/28639/1 "2019-09-11T08:14:05Z")

</div>

I am trying to plot data with `corrplot()`. It works for certain data, but fails for other data, i.e. no error is thrown but the plotting does not finish either. See the following minimal example:

```julia
using StatsPlots
A = [3.1860855 3.2 3.2 263.15; 6.372171 1.6 1.6 263.15; 6.372171 1.6 1.6 263.15; 8.496228 1.2 1.2 263.15; 8.496228 1.2 1.2 263.15; 12.744342 0.8 0.8 263.15; 12.744342 0.8 0.8 263.15]
corrplot(A) # works fine
A2 = [6.372171 1.6 1.6 263.15; 6.372171 1.6 1.6 263.15; 8.496228 1.2 1.2 263.15; 8.496228 1.2 1.2 263.15; 12.744342 0.8 0.8 263.15; 16.992456 0.6 0.6 263.15; 16.992456 0.6 0.6 263.15]
corrplot(A2) # does not work

```

Any ideas?

---

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [September 11, 2019, 9:47am UTC](https://discourse.julialang.org/t/corrplot-fails/28639/2 "2019-09-11T09:47:04Z")

</div>

I can reproduce this. Hitting Ctrl-C, with the pyplot backend points to `PlotUtils/35TGG/src/ticks.jl:64`. Probably best to open a issue at StatsPlots or PlotUtils, if there is none already.

---

<div class="post-metadata">

### Author: ![moesphere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/moesphere/32/3348_2.png) [@moesphere](https://discourse.julialang.org/u/moesphere)
#### Post date: [September 11, 2019, 1:25pm UTC](https://discourse.julialang.org/t/corrplot-fails/28639/3 "2019-09-11T13:25:56Z")

</div>

Same with gr backend.
