Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6841

TLegend Fill Color in TexDump Mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 5.34/21, 6.02/01
    • None
    • Graphics
    • None
    • OSX 10.9.5

    Description

      When saving a canvas using c1.SaveAs("foo.tex"), if a TLegend is present, the fill style for the legend icons is not respected, they are always black. The attached files should fully illustrate what is going on. You can run it as follows:
      python make_plot.py
      pdflatex plot.tex

      Then look at the resulting pdf file. The legend icons are black, even though the objects in the legend have their FillColor set to 0.

      Attachments

        1. doc.tex
          0.8 kB
        2. make_plot.py
          0.4 kB
        3. doc.tex
          1 kB
        4. make_plot.py
          0.9 kB

        Activity

          People

            couet Olivier Couet
            225c1ad941a2bba5136d Jean-François Caron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: