Skip to content

Commit

Permalink
remove the "don't precompile" warning note:
Browse files Browse the repository at this point in the history
that was only bc I used PyPlot fork (pr 480) in sysimg

JuliaPy/PyPlot.jl#480
  • Loading branch information
tfiers committed Sep 20, 2022
1 parent a1a28ee commit cbc2d0d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Sciplotlib.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# A note on precompilation and __init__.
#
# If Sciplotlib is used in another module, then that module must be marked as
# `__precompile__(false)`. If not, during precompilation of that top-level module,
# Sciplotlib's `__init__` will be called [*], which is a function that cannot be called
# during a precompilation phase; it errors then.
#
# [*] Strange but true. Strange cause `__init__` is explicitly made to not be called during
# precompilation. It indeed is not called when precompiling Sciplotlib itself. But it
# _does_ get called when precompiling a downstream package.

module Sciplotlib

using Reexport
Expand Down

0 comments on commit cbc2d0d

Please sign in to comment.