# Replit.com PyPlot or Plots (Julia 1.3) vs. Plots in Pluto (Julia 1.6)

**URL:** <https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210>\
**Category:** New to Julia\
**Tags:** plotting\
**Created:** [March 15, 2021, 4:01pm UTC](https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210 "2021-03-15T16:01:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Villavicencio](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/victor_villavicencio/32/10774_2.png) [@Victor\_Villavicencio](https://discourse.julialang.org/u/Victor_Villavicencio)\
**Post date:** [March 15, 2021, 4:01pm UTC](https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210/1 "2021-03-15T16:01:32Z")

</div>

Greetings;  
I am a high school teacher trying to get students to use Julia 1.3 on [Replit.com](http://Replit.com). [Replit.com](http://Replit.com) only has Julia 1.3, not 1.5 or newer.  
As shown in the attachment, the plot code works in Julia 1.6 using Pluto.  
The same code does not work in [Replit.com](http://Replit.com). 1) provides a blank prompt with no errors 2) takes over a minute to finish compiling (any suggestions to speed up plot, when it does work…

```julia

begin
 import Pkg
 Pkg.activate(mktempdir())
end
# using Pkg;
begin
  Pkg.add.(["Plots","Random","PyPlot"]);
  using Plots,PyPlot,Random
  # using GR
 # using PlotlyBase
end
#plotly() # or gr()
#pyplot()
begin
 x = 1:6;
 y = 1:6
 z = rand(1:10, 1000);
 #Plots.histogram(y,50) 
 #PyPlot.plot(1:10,z) # did not work??
 Plots.plot(x,y)
end

```

 ![ReplitDotCom_Julia1_3_Plots_samecodeFAIL](https://global.discourse-cdn.com/julialang/original/3X/4/c/4c9b96e9d9e2a68074291d7af6ccf5a871acba31.png)

 ![Julia1_6_Plots_UsingPluto](https://global.discourse-cdn.com/julialang/original/3X/f/b/fb02349f3bccb48cf60dfb8ef6004d5b4d7ec516.png)

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [March 15, 2021, 4:04pm UTC](https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210/2 "2021-03-15T16:04:30Z")

</div>

expecting [replit.com](http://replit.com) to render images for us is unrealistic I would say.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [March 15, 2021, 4:44pm UTC](https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210/3 "2021-03-15T16:44:26Z")

</div>

I don’t know repl.it, so Jerry is probably right that rendering images might be an issue there. That said, you might want to look into [https://github.com/Evizero/UnicodePlots.jl](https://github.com/Evizero/UnicodePlots.jl) which are reasonably fast and most importantly are directly printed to the terminal.

---

<div class="post-metadata">

**Author:** ![Victor\_Villavicencio](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/victor_villavicencio/32/10774_2.png) [@Victor\_Villavicencio](https://discourse.julialang.org/u/Victor_Villavicencio)\
**Post date:** [March 16, 2021, 2:21am UTC](https://discourse.julialang.org/t/replit-com-pyplot-or-plots-julia-1-3-vs-plots-in-pluto-julia-1-6/57210/4 "2021-03-16T02:21:18Z")

</div>

Greetings;  
Thank you for your Uniplot suggestion. It worked with color when I add the code in the terminal. See attachment.

## Figure 1 - Using UnicodePlots in the Terminal which results in color plots.

 ![chrome_EHCjSvl9ip](https://global.discourse-cdn.com/julialang/original/3X/e/4/e4cc81a702b162aeb15e429fca6349d9fa630417.png)

But I could not achieve color output when creating expressions in main.jl with/without Colors/ColorScheme/Plots

## Figure 2 - Using UnicodePlots in the [Replit.com](http://Replit.com) GUI , which uses Julia 1.3

 ![chrome_LXTJ9uWU4B](https://global.discourse-cdn.com/julialang/original/3X/5/a/5a4472c5d3f4ef66516c60ca83f2cc1d2c0d9154.png)

As a High School Teacher, the unicodePlots package is adequate. I do use Julia 1.6 on my classroom Windows 10 computers, but I can monitor progress and submissions from any remote computer with [Replit.com](http://Replit.com) paid subscription. Thank you for your assistance.
