# Canvas not showing on MacOS 10.15

**URL:** <https://root-forum.cern.ch/t/canvas-not-showing-on-macos-10-15/39281>\
**Category:** ROOT\
**Created:** [May 6, 2020, 7:07am UTC](https://root-forum.cern.ch/t/canvas-not-showing-on-macos-10-15/39281 "2020-05-06T07:07:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 6, 2020, 8:22am UTC](https://root-forum.cern.ch/t/canvas-not-showing-on-macos-10-15/39281/2 "2020-05-06T08:22:05Z")

</div>

You need a TApplication

> [@Updating canvas using TApplication](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596):
>
> I would like to display graphics in a compiled program (using TApplication) where I can update the canvas with a press of a key. I tried this simple code (see below), but the line c1-\>Update() does not seem to display the new graphics nor does using the Draw() method. How can I refresh the canvas graphics? #include \<iostream\> #include "TMarker.h" #include "TApplication.h" #include "TCanvas.h" using namespace std; int main(int argc, char \*argv[]) { TApplication \*app = new TApplication("app",…

---

_[View the full topic](https://root-forum.cern.ch/t/canvas-not-showing-on-macos-10-15/39281)._
