Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Plotter: using permute and pivot together does not work #141

Open
mdigiorgio opened this issue Feb 15, 2016 · 0 comments
Open

Plotter: using permute and pivot together does not work #141

mdigiorgio opened this issue Feb 15, 2016 · 0 comments

Comments

@mdigiorgio
Copy link
Contributor

When trying to plot two or more traces with pivoting and permute python raises an exception. In my example I want to pivot on a column having 2 different values, and want to permute on 2 columns. Hence, I should get 4 subplots, but I get the following exception:

~/lisa/libs/trappy/trappy/plotter/PlotLayout.py in get_axis(self, plot_index)
    144             return self._attr["axes"]
    145         else:
--> 146             return self._attr["axes"][self.get_2d(plot_index)]
    147 
    148     def get_fig(self):

IndexError: index 2 is out of bounds for axis 0 with size 2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant