# Is pgf-umlsd incompatible with pgfplots?

The following document renders a nice sequence diagram for me:

\documentclass[12pt,english]{scrartcl}

\usepackage{babel}
%\usepackage{pgfplots}

% Sequence diagrams:
\usepackage{tikz}
\usepackage[underline=true,rounded corners=false]{pgf-umlsd}

\begin{document}

\begin{sequencediagram}
\mess{a}{X}{b}
\mess{a}{Y}{b}
\begin{call}{a}{$Z_a$}{b}{$Z_b$}\end{call}
\end{sequencediagram}

\end{document}


But when I uncomment the line \usepackage{pgfplots}, the vertical lines and bars vanish:

In my real document I need the pgfplots package. So how can I make the two compatible?

I'm using MiKTeX 2.9 and TeXworks 0.4.4 r1003 on Windows XP SP2; pgf-umlsd 0.5 and pgfplots 1.6.1. I will also need it to work on an FC11 Linux system that's stuck at TeXLive 2007.

## Update

Although I can't find an exact match in the pgf-umlsd issues list, issue 15 seems to describe the same conflict between pgf-umlsd and pgf-umlcd, and this was fixed in pgf-umlsd 0.7.

I locally updated the package to 0.7 in my Windows environment, but the problem persisted.

• Both (with or without pgflots) yield identical results for me using TeXLive 2012. So, most likely you are using older packages. – Peter Grill Oct 29 '12 at 20:01
• @PeterGrill: I managed to find some version numbers and edited them into the question. If versioning is an issue then that's a concern, as I'll also need this to work on an FC11 Linux system that's stuck at TeXLive 2007. – Lightness Races with Monica Oct 29 '12 at 20:04
• I guess you could try updating just the packages manually. – Peter Grill Oct 29 '12 at 20:11
• Why not install TeXLive 2012 on the linux system? If you don't have root access, you can install it somewhere in your home directory. – Ian Thompson Oct 29 '12 at 20:16
• Hmmm... I wish. More like I am waiting for an updated version of a package to show up: Incompatibility between currfile and enumitem?. – Peter Grill Oct 29 '12 at 21:41

Although I can't find an exact match in the pgf-umlsd issues list, issue 15 seems to describe the same conflict between pgf-umlsd and pgf-umlcd, and this was fixed in pgf-umlsd 0.7. However, updating pgf-umlsd to 0.7 did not solve the problem. I reverted it back to 0.5.
Updating pgfplots to 1.7 did solve the problem (due to a bug in 1.6.1 that the package author points out in the comments below).
Having done this, a cursory check shows that my usage of pgfplots doesn't appear to be broken anywhere in my real .tex files.