Plot lines wrongfully repacing eachother in subplots

Im plotting multiple lines in a subplot, but instead of gaining two seperat line only the last called is displayed. What is more confusing is that the line is still present in the legend.

I have tried setting up the subplots diffrently by specifying in the plot function the desired axis but this hasn’t worked.

alpha = 0.5  ylndPOS = [33, 33.25, 32.9375, 32.703125,33.27734375, 33.9580078125, 31.968505859375, 33.47637939453125, 29.857284545898438, 29.142963409423828,  27.10722255706787, 25.080416917800903, 25.310312688350677, 23.982734516263008, 25.237050887197256, 23.677788165397942,  24.258341124048457, 22.693755843036342, 23.520316882277257, 21.640237661707943, 21.980178246280957, 21.985133684710718,  21.48885026353304, 21.36663769764978, 20.024978273237334, 17.518733704928,  21.889050278696, 20.666787709022, 19.7500907817665, 20.062568086324873,  19.796926064743655, 17.84769454855774, 16.885770911418305,  14.914328183563729, 14.685746137672798, 13.514309603254599, 13.385732202440948,13.039299151830711,11.779474363873033,10.084605772904775,9.813454329678581,10.860090747258937,11.145068060444203,9.858801045333152,9.644100783999864,9.983075587999899,9.987306690999924,12.240480018249944,12.680360013687459,11.260270010265593,9.695202507699195,12.521401880774397,13.391051410580797,13.543288557935597,13.157466418451698,13.618099813838773,13.71357486037908,14.535181145284309,12.40138585896323,11.051039394222423,0]  xTime = ['T0', 'T1', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'T8', 'T9', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15', 'T16', 'T17', 'T18', 'T19', 'T20', 'T21', 'T22', 'T23', 'T24', 'T25', 'T26', 'T27', 'T28', 'T29', 'T30', 'T31', 'T32', 'T33', 'T34', 'T35', 'T36', 'T37', 'T38', 'T39', 'T40', 'T41', 'T42', 'T43', 'T44', 'T45', 'T46', 'T47', 'T48', 'T49', 'T50', 'T51', 'T52', 'T53', 'T54', 'T55', 'T56', 'T57', 'T58', 'T59','T60']  laxDP = ylndPOS p = 0 for i in range(1, np.size(laxDP)-1):     laxDP[i] = laxDP[p]*alpha+(1-alpha)*laxDP[i]     p = p+1  plt.subplot(2,2,1) plt.plot(xTime,ylndPOS,'green', label="Natural") plt.plot(xTime,laxDP,'blue', label="Relaxed") plt.title('Positiv lyndensitet',fontsize = font) plt.ylabel('Antal lyn',fontsize = font) plt.xticks(xTime, xTime, rotation=90, fontsize=6) plt.legend() 

I expect to see two lines, but instead i see only the “Relaxed” line.

What to do when a paper has been wrongfully rejected

I recently submitted my number theory paper to a certain top Springer journal, which has been wrongfully rejected. The referee agreed with the entirety of the paper, until he reached part of the argument that says

“the Prime Number Theorem entails supremum of the real parts of the zeros of the Riemann zeta function is less than $ 1$ .”

The referee claims that the PNT doesn’t entail such.

But clearly, this referee is wrong, because Theorem 15.3 of Montgomery-Vaughan says if $ \Theta$ is the supremum of the real parts of the zeta zeros, then $ \limsup_{x\rightarrow \infty} \frac{\psi(x)-x}{x^\Theta}> c$ , where $ c$ is some positive constant. This clearly entails thant $ \Theta<1$ since the PNT is the statement that $ \psi(x)-x=o(x)$ , where $ \psi(x)$ is the Chebyshev second function.


  1. Should i write to the journal informing them that their refree report is flawed ? Would they re-conside the paper ?

  2. Given the low quality of this referee’s report, would my paper really suitable for this journal ? By the way they are a top-ranked generalist journal with some of the leading number theorists on their editorial board.

You can easily “brick” any Apple laptop 2108 if you wrongfully put it in DFU mode mode by pressing the wrong key sequence. Not easy to escape!

Here’s this for discussion:

I’ve noticed that it’s relatively easy to put a Macbook Pro 2018 in recovery mode (which makes the Mac unresponsive and seemingly “dead”, if you wrongfully try use the SMC reset key combination:

You’re not really bricking the Mac, you’re just putting it into recovery mode (also called DFU mode).

Let me explain myself:

To put a 2018 Mac laptop in DFU mode: While holding down the power button, at the same time press all three of the following keys for about 3 seconds: Right Shift key Left Option key Left Control key

The reason why it’s so easy to do this, is becase this is very similar to the key combo to reset the SMC (the same keys are used, with different timing):

To reset the SMC on 2018 Mac laptops (that have the new T2 chip):

After your Mac shuts down, press and hold the right Shift key, the left Option key, and the left Control key for 7 seconds. Then keep holding those keys while you press and hold the power button for another 7 seconds.

It’s easy to wrongfully put the Mac in DFU mode. The problem is that YOUR MAC SEEMS TO GET BRICKED. In DFU mode, the mac is unresponsive, as it’s ready to be connected to another mac and restore the firmware with Apple Configurator 2 (downloadable in the App Store).

And that’ s the way to escape from the DFU state (also called “recovery mode”): restore the firmware by connecting it to another mac (with a Thunderbolt 3 cable or an USB-A to USB-C proper data cable) and restore the firmware. That is the only way to escape DFU mode.

By what I learn (I hope I’m wrong, please correct me if that’s the case), neither a NVRAM reset or an SMC reset will fix this situation.

Source: (explains how to put a newer Mac in recovery mode (check “prepare devices”).

Any answers much welcome.

Wrongfully held at Italian passport control for over an hour: can I get financial compensation?

Background for anyone who may not know: I, an EU citizen, have the right to enter any EU or Schengen state (in this case Italy) using either a passport or national ID card. It doesn’t matter whether I fly from the UK, Turkey or even the US; Italy is Italy and so EU law applies.

The issue at hand: just flew Chisinau-Kyiv-Milan, and, at passport control in Milan, presented my ID card, but once the officer found I had flown from Kyiv, rejected it and demanded a passport, which I didn’t have. He also demanded my boarding passes, which I had left on the respective aircraft.

I politely but firmly explained to him that, per the EU freedom of movement directive, I have the right to enter, and that it shouldn’t matter to him where I flew from, but I might as well have been talking to the wall.

I was taken into custody for potential deportees where I was held for over an hour, partly involving two officers asking totally irrelevant questions such as whether I had a ticket back home (which I didn’t as it was a re-routed flight – I blackrode trains back home) and insisted that, having flown from a non-EU state, I couldn’t enter Italy on my ID card.

Eventually, though, I was handed back my ID and let go with no further explanation.

I’ve already got an email address to send a complaint to.

What I’d like to know is if, besides demanding a proper lecture of the officer at the booth (whose ID number I noted down, which he clearly disliked) and a written apology from the chief officer, I could also demand financial compensation for being (in the end) 2 hours delayed back home because of this event, seeing as I was held for a completely illegitimate reason.