Relative Content

Tag Archive for pythonmatplotlibseaborn

Combining Timeseries Dual Plot Axis

I am trying to combine two timeseries graphs. One is a boxplot and one is a line. The same x axis would be used for the both and the left y-axis is called “Midday Stem Water Potential” and the right y-axis is called “Cumulative Applied Irrigation”. They both graph fine on their own (see examples) but am having issues with the x-axis when they are combined. The boxplot seems to get smashed and the x axis no longer starts on 4/1/24. Any ideas?

Seaborn axes scale changing within the same plot

I am having this strange problem where I am getting changing axes scales in my seaborn heatmap. As seen in the image below, the scale starts off normal then all of a sudden starts spreading the points out making my plot look very sparse. This should all look like a T shape with a very wide top

Issues updating seaborn plots

I have an application that generates a seaborn plot and then I need to add some additional data to that plot at a later time. If I show the plot after the initial data is plotted I cannot get it to update. Below is a simplified example reproducing the issue.

Seaborn objects interface: Log transformed bar plot does not plot correctly

I have a quick question regarding the seaborn objects interface. I am trying to simply generate a dodged bar plot with a log scaled y-axis. The bar plot renders without any problem, but as soon as I pass .scale(y="log") to the Plot object I get the error Ill-defined clip_path detected and instead of a bar, only a line is plotted. Plotting via the classic interface works fine.