Dear Amine,

Concerning your second question, I think that this a normal (but in this
case, annoying) feature of the Jupyter notebook.

You might trying adding an extra (dummy) command to the cell, after the
line in which the Viewer() is instantiated. For example: ``print('Ready')``.

Best,
Martin

On 20/01/2020 17:01, A A wrote:
> Dear All,
>
> I'm just getting back into using fipy after a few months hiatus. I'm
> getting more familiar with how it works, but I have a couple of
> questions about the viewer:
>
>   * Is it possible to control linestyle (specifically dashes)  of the
>     cellVariable objects tied to each specific viewer? I'd like to
>     avoid the possibility of superimposing very similar plots and
>     thinking they are the same
>   * I am primarily using jupyter notebook to practice some basic
>     concepts. What I've found is that simply instantiating the viewer
>     in interactive mode will generate a plot. This renders a
>     viewer.plot() call redundant. When I run the whole notebook in
>     non-interactive mode I get the expected behavior, namely one plot
>     with a .plot() call. Am I missing something here? Why does viewer
>     instantiation generate a plot in jupyter notebook?
>
> Thanks for your help and look forward to your reply.
>
> Regards,
>
> Amine Aboufirass
>
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to